Unref GtkBuilder objects when they are no longer required
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 28 Apr 2012 14:11:10 +0000 (16:11 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 28 Apr 2012 14:11:10 +0000 (16:11 +0200)
src/ui/gui/psppire-dialog-action-descriptives.c
src/ui/gui/psppire-dialog-action-examine.c
src/ui/gui/psppire-dialog-action-means.c
src/ui/gui/psppire-dialog-action-reliability.c
src/ui/gui/psppire-dialog-action-sort.c

index d1c7d21362e0aaea250a62df2c38eb4bd8f188ab..b83cea8067f7cc6bbda9369ac4483985f4dfd049 100644 (file)
@@ -227,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
index c5c8bd85dd42e76c391888f60a3c62fbba23591f..7698adfe6be32d50bdbc6cc3864098a431bff579 100644 (file)
@@ -242,6 +242,8 @@ psppire_dialog_action_examine_activate (GtkAction *a)
                            G_CALLBACK (run_opts_dialog), act);
 
   PSPPIRE_DIALOG_ACTION_CLASS (psppire_dialog_action_examine_parent_class)->activate (pda);
+  
+  g_object_unref (xml);
 }
 
 static void
index 8d378e221a76ac1931b6b08dba8620e810bdc794..1ec9fccffb51e20cef5c28a53e1e2f4e0ba24771 100644 (file)
@@ -120,6 +120,8 @@ psppire_dialog_action_means_activate (GtkAction *a)
   psppire_dialog_action_set_refresh (pda, dialog_refresh);
 
   PSPPIRE_DIALOG_ACTION_CLASS (psppire_dialog_action_means_parent_class)->activate (pda);
+
+  g_object_unref (xml);
 }
 
 static void
index 465aea8de0726fb6d97b4fd329ffba83da55bd06..aca739cf363062746365a2063f657d98a36b8413 100644 (file)
@@ -159,6 +159,8 @@ psppire_dialog_action_reliability_activate (GtkAction *a)
 
   if (PSPPIRE_DIALOG_ACTION_CLASS (psppire_dialog_action_reliability_parent_class)->activate)
     PSPPIRE_DIALOG_ACTION_CLASS (psppire_dialog_action_reliability_parent_class)->activate (pda);
+
+  g_object_unref (xml);
 }
 
 static void
index 29c3c8063edfd1c373c6e8a082330526548c0e8a..363ef08b03d48a70f9e80ff0085e593b7b2907ca 100644 (file)
@@ -109,6 +109,8 @@ psppire_dialog_action_sort_activate (GtkAction *a)
 
   if (PSPPIRE_DIALOG_ACTION_CLASS (psppire_dialog_action_sort_parent_class)->activate)
     PSPPIRE_DIALOG_ACTION_CLASS (psppire_dialog_action_sort_parent_class)->activate (pda);
+
+  g_object_unref (xml);
 }
 
 static void