From e825f384370ec0c939f5b2c8d741b796b3eb98e9 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 22 Sep 2014 23:18:03 +0100 Subject: move about and preferences window handling to more sensible position --- gtk/preferences.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 gtk/preferences.h (limited to 'gtk/preferences.h') diff --git a/gtk/preferences.h b/gtk/preferences.h new file mode 100644 index 000000000..3ef33ca30 --- /dev/null +++ b/gtk/preferences.h @@ -0,0 +1,32 @@ +/* + * Copyright 2012 Vincent Sanders + * + * This file is part of NetSurf, http://www.netsurf-browser.org/ + * + * NetSurf is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * NetSurf is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#ifndef NETSURF_GTK_PREFERENCES_H +#define NETSURF_GTK_PREFERENCES_H + +#include + +/** Initialise prefernces window + */ +GtkWidget* nsgtk_preferences(struct browser_window *bw, GtkWindow *parent); + +/** Theme added + */ +void nsgtk_preferences_theme_add(const char *themename); + +#endif -- cgit v1.2.3