diff options
author | Rob Kendrick <rjek@netsurf-browser.org> | 2008-10-09 23:07:38 +0000 |
---|---|---|
committer | Rob Kendrick <rjek@netsurf-browser.org> | 2008-10-09 23:07:38 +0000 |
commit | 4b2802c546be242b212be09277f83099557eb429 (patch) | |
tree | 4edc35a004ecff2828017544e31ccf27e6395e86 /gtk/dialogs | |
parent | 56500ce8e8648a5178a90c77cc6fb88fc6e518bb (diff) | |
download | netsurf-4b2802c546be242b212be09277f83099557eb429.tar.gz netsurf-4b2802c546be242b212be09277f83099557eb429.tar.bz2 |
Whole bunch of warning fixes in GTK
svn path=/trunk/netsurf/; revision=5521
Diffstat (limited to 'gtk/dialogs')
-rw-r--r-- | gtk/dialogs/gtk_options.c | 3 | ||||
-rw-r--r-- | gtk/dialogs/gtk_options.h | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gtk/dialogs/gtk_options.c b/gtk/dialogs/gtk_options.c index 666394781..4b4ac986b 100644 --- a/gtk/dialogs/gtk_options.c +++ b/gtk/dialogs/gtk_options.c @@ -40,6 +40,9 @@ static struct browser_window *current_browser; static int proxy_type; static float animation_delay; +static void dialog_response_handler (GtkDialog *dlg, gint res_id); +static gboolean on_dialog_close (GtkDialog *dlg, gboolean stay_alive); + /* Declares both widget and callback */ #define DECLARE(x) GtkWidget *x; gboolean on_##x##_changed( \ GtkWidget *widget, gpointer data) diff --git a/gtk/dialogs/gtk_options.h b/gtk/dialogs/gtk_options.h index 49932ff89..cc269d178 100644 --- a/gtk/dialogs/gtk_options.h +++ b/gtk/dialogs/gtk_options.h @@ -27,7 +27,4 @@ GtkDialog* nsgtk_options_init(struct browser_window *bw, GtkWindow *parent); /* void nsgtk_options_load(void); /** Load current options into window */ void nsgtk_options_save(void); /** Save options from window */ -/** Callbacks */ -static void dialog_response_handler (GtkDialog *dlg, gint res_id); -static gboolean on_dialog_close (GtkDialog *dlg, gboolean stay_alive); #endif |