gui: Save positions of windows only when they are closed.
[pspp] / src / ui / gui / psppire-conf.h
index b98c1e65ffd7e0607a8970e060e7162eef951ae9..4e7ece0a5a6ce2c1f1c922c5d097ad474ced7367 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
@@ -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