Merge 'master' into 'psppsheet'.
[pspp] / src / ui / gui / psppire-dialog-action-descriptives.c
index 170604c9458b8a9f26655d79be16cc3ea4aa7890..b83cea8067f7cc6bbda9369ac4483985f4dfd049 100644 (file)
@@ -169,8 +169,10 @@ dialog_state_valid (gpointer data)
 }
 
 static void
-dialog_refresh (PsppireDialogActionDescriptives *scd)
+dialog_refresh (PsppireDialogAction *scd_)
 {
+  PsppireDialogActionDescriptives *scd
+    = PSPPIRE_DIALOG_ACTION_DESCRIPTIVES (scd_);
   GtkTreeModel *liststore;
   GtkTreeIter iter;
   size_t i;
@@ -225,6 +227,8 @@ psppire_dialog_action_descriptives_activate (GtkAction *a)
   psppire_dialog_action_set_refresh (pda, dialog_refresh);
 
   PSPPIRE_DIALOG_ACTION_CLASS (psppire_dialog_action_descriptives_parent_class)->activate (pda);
+
+  g_object_unref (xml);
 }
 
 static void