From 3ddb6fac02bdfdb11537ab21765e5f3ea6920648 Mon Sep 17 00:00:00 2001 From: damdoum Date: Sat, 17 Feb 2007 18:43:24 +0000 Subject: [PATCH] -DVERSION erased for project options (was used for about dialog) information for the about dialog moved to the glade file --- desmume/src/gtk-glade/DeSmuME.dev | 2 +- desmume/src/gtk-glade/callbacks.c | 27 +-------------------------- 2 files changed, 2 insertions(+), 27 deletions(-) diff --git a/desmume/src/gtk-glade/DeSmuME.dev b/desmume/src/gtk-glade/DeSmuME.dev index 8bc5df796..39774d0c8 100644 --- a/desmume/src/gtk-glade/DeSmuME.dev +++ b/desmume/src/gtk-glade/DeSmuME.dev @@ -10,7 +10,7 @@ Libs=d:\Dev-Cpp\lib;d:\GTK\LIB;d:\GTK\lib\glib-2.0;d:\GTK\lib\gtk-2.0;d:\GTK\lib PrivateResource= ResourceIncludes= MakeIncludes= -Compiler=-DVERSION=\"0.5.0\"_@@_-DHAVE_LIBZ=1_@@_-DHAVE_LIBGDKGLEXT_X11_1_0=1_@@_-mms-bitfields_@@_-rdynamic_@@_-shared_@@__@@_ +Compiler=-DHAVE_LIBZ=1_@@_-DHAVE_LIBGDKGLEXT_X11_1_0=1_@@_-mms-bitfields_@@_-rdynamic_@@_-shared_@@__@@_ CppCompiler= Linker=d:/GTK/lib/z.lib_@@_d:/GTK/lib/atk-1.0.lib_@@_d:/GTK/lib/cairo.lib_@@_d:/GTK/lib/gdk_pixbuf-2.0.lib_@@_d:/GTK/lib/gdk-win32-2.0.lib_@@_d:/GTK/lib/glade-2.0.lib_@@_d:/GTK/lib/glib-2.0.lib_@@_d:/GTK/lib/gmodule-2.0.lib_@@_d:/GTK/lib/gobject-2.0.lib_@@_d:/GTK/lib/gtk-win32-2.0.lib_@@_d:/GTK/lib/pango-1.0.lib_@@_d:/GTK/lib/pangocairo-1.0.lib_@@_d:/GTK/lib/pangowin32-1.0.lib_@@_d:/GTK/lib/xml2.lib_@@_D:/Dev-Cpp/dll/SDL.dll_@@_D:/Dev-Cpp/lib/libSDL.dll.a_@@_D:/Dev-Cpp/lib/libopengl32.a_@@_D:/GTK/lib/libgdkglext-win32-1.0.dll.a_@@_D:/GTK/lib/gtkglext-win32-1.0.lib_@@_ IsCpp=0 diff --git a/desmume/src/gtk-glade/callbacks.c b/desmume/src/gtk-glade/callbacks.c index aa5656a68..9ae490b19 100755 --- a/desmume/src/gtk-glade/callbacks.c +++ b/desmume/src/gtk-glade/callbacks.c @@ -367,33 +367,8 @@ void on_menu_wtoolsXX_activate (GtkMenuItem *menuitem, gpointer user_data) /* About dialog FIXME: Add proper copyright */ void on_menu_apropos_activate (GtkMenuItem *menuitem, gpointer user_data) { - const gchar * authors[] = - { "Original author:", - " yopyop (now inactive)", - "", - "Current team:", - " Allustar", - " amponzi", - " ape", - " delfare", - " Guillaume Duhamel", - " Normmatt", - " Romain Vallet", - " shash", - " Theo Berkau", - " thoduv", - " Tim Seidel (Mighty Max)", - " Damien Nozay (damdoum)", - " Pascal Giard (evilynux)", - "", - "Contributors:", - " Anthony Molinaro", - NULL }; - GtkAboutDialog * wAbout = (GtkAboutDialog*)glade_xml_get_widget(xml, "wAboutDlg"); - gtk_about_dialog_set_version(wAbout, VERSION); - gtk_about_dialog_set_authors(wAbout, authors); - gtk_dialog_run(wAbout); + gtk_widget_show(wAbout); }