+static gboolean
+configure_event_callback (GtkDialog *dialog,
+ GdkEvent *event, gpointer data)
+{
+ const gchar *base;
+
+ PsppireConf *conf = psppire_conf_new ();
+
+ if ( ! gtk_widget_get_mapped (GTK_WIDGET (dialog)))
+ return FALSE;
+
+ base = gtk_buildable_get_name (GTK_BUILDABLE (dialog));
+
+ psppire_conf_save_window_geometry (conf, base, GTK_WINDOW (dialog));
+
+ return FALSE;
+}
+
+
+static void
+on_realize (GtkWindow *dialog, gpointer data)
+{
+ PsppireConf *conf = psppire_conf_new ();
+
+ const gchar *base = gtk_buildable_get_name (GTK_BUILDABLE (dialog));
+
+ psppire_conf_set_window_geometry (conf, base, dialog);
+}
+
+
+