X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-dialog-action-descriptives.c;h=b83cea8067f7cc6bbda9369ac4483985f4dfd049;hb=159abf428abd3028a73d064508fac95e542d9f09;hp=170604c9458b8a9f26655d79be16cc3ea4aa7890;hpb=53508ccb5785dfcad8080d9dcdacdf3b7af5be76;p=pspp diff --git a/src/ui/gui/psppire-dialog-action-descriptives.c b/src/ui/gui/psppire-dialog-action-descriptives.c index 170604c945..b83cea8067 100644 --- a/src/ui/gui/psppire-dialog-action-descriptives.c +++ b/src/ui/gui/psppire-dialog-action-descriptives.c @@ -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