gui: Include only <gtk/gtk.h> to use GTK+.
[pspp-builds.git] / src / ui / gui / psppire-conf.h
index b98c1e65ffd7e0607a8970e060e7162eef951ae9..674577e778a8586d6c41c9ce610b77306dd01095 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPPIRE - a graphical user interface for PSPP.
-   Copyright (C) 2009  Free Software Foundation
+   Copyright (C) 2009, 2010  Free Software Foundation
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -18,7 +18,7 @@
 #include <glib-object.h>
 #include <glib.h>
 
-#include <gtk/gtkwindow.h>
+#include <gtk/gtk.h>
 
 #ifndef __PSPPIRE_CONF_H__
 #define __PSPPIRE_CONF_H__
@@ -78,17 +78,25 @@ PsppireConf * psppire_conf_new (void);
 gboolean psppire_conf_get_int (PsppireConf *,
                               const gchar *, const gchar *, int *);
 
+gboolean psppire_conf_get_boolean (PsppireConf *,
+                                  const gchar *, const gchar *, gboolean *);
+
 void psppire_conf_set_int (PsppireConf *conf,
                           const gchar *base, const gchar *name,
                           gint value);
 
+void psppire_conf_set_boolean (PsppireConf *conf,
+                              const gchar *base, const gchar *name,
+                              gboolean value);
+
+
 void psppire_conf_set_window_geometry (PsppireConf *conf,
                                       const gchar *base,
                                       GtkWindow *window);
 
 void psppire_conf_save_window_geometry (PsppireConf *,
                                        const gchar *,
-                                       GdkEventConfigure *);
+                                       GtkWindow *);
 
 
 G_END_DECLS