summaryrefslogtreecommitdiff
path: root/gtk/dialogs
diff options
context:
space:
mode:
authorRob Kendrick <rjek@netsurf-browser.org>2008-10-09 23:07:38 +0000
committerRob Kendrick <rjek@netsurf-browser.org>2008-10-09 23:07:38 +0000
commit4b2802c546be242b212be09277f83099557eb429 (patch)
tree4edc35a004ecff2828017544e31ccf27e6395e86 /gtk/dialogs
parent56500ce8e8648a5178a90c77cc6fb88fc6e518bb (diff)
downloadnetsurf-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.c3
-rw-r--r--gtk/dialogs/gtk_options.h3
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