From 0352f458ef0722230cde61889830d62de231f95b Mon Sep 17 00:00:00 2001 From: damdoum Date: Sun, 14 Jan 2007 12:26:12 +0000 Subject: [PATCH] libgen.h no more used fixed broken callbacks --- desmume/src/gtk-glade/dTools/callbacks_3_palview.c | 11 ++++++++--- desmume/src/gtk-glade/globals.h | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/desmume/src/gtk-glade/dTools/callbacks_3_palview.c b/desmume/src/gtk-glade/dTools/callbacks_3_palview.c index 92757ec8a..3eb68cdc1 100755 --- a/desmume/src/gtk-glade/dTools/callbacks_3_palview.c +++ b/desmume/src/gtk-glade/dTools/callbacks_3_palview.c @@ -26,6 +26,8 @@ static u16* base_addr[20]; static BOOL init=FALSE; static void initialize() { GtkComboBox * combo; + GtkTreeIter iter; + int i=0; if (init) return; @@ -78,7 +80,10 @@ gboolean on_wtools_3_PalView_close (GtkWidget *widget, ...) { } -gboolean on_wtools_3_draw_expose_event (GtkWidget *, GdkEventExpose *, gpointer ); -void on_wtools_3_palette_changed (GtkComboBox *, gpointer ); -void on_wtools_3_palnum_value_changed (GtkSpinButton *, gpointer ); +gboolean on_wtools_3_draw_expose_event (GtkWidget * widget, GdkEventExpose *event, gpointer user_data) { +} +void on_wtools_3_palette_changed (GtkComboBox *combo, gpointer user_data) { +} +void on_wtools_3_palnum_value_changed (GtkSpinButton *spin, gpointer user_data) { +} diff --git a/desmume/src/gtk-glade/globals.h b/desmume/src/gtk-glade/globals.h index 302c056d3..2b680e84b 100755 --- a/desmume/src/gtk-glade/globals.h +++ b/desmume/src/gtk-glade/globals.h @@ -29,7 +29,7 @@ #include #include #include -#include +//#include #include #include