X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=src%2Fui%2Fgui%2Fpsppire-dialog-action.c;fp=src%2Fui%2Fgui%2Fpsppire-dialog-action.c;h=70a5a9d4aa93cc805c202b1529a57afac077c6c2;hb=3dd0f6ae0d5eb73a2270a243e443c4ae03c2c16e;hp=ab04cae3021b51ee68f9793d96f2c01673180569;hpb=7d4424f00e2a81c219dc02b050dea4bf2091e765;p=pspp diff --git a/src/ui/gui/psppire-dialog-action.c b/src/ui/gui/psppire-dialog-action.c index ab04cae302..70a5a9d4aa 100644 --- a/src/ui/gui/psppire-dialog-action.c +++ b/src/ui/gui/psppire-dialog-action.c @@ -188,14 +188,14 @@ on_destroy_dataset (GObject *w) { GHashTable *t = g_object_get_data (w, "thing-table"); GSList *dl = g_object_get_data (w, "widget-list"); - + g_slist_free_full (dl, (GDestroyNotify) gtk_widget_destroy); g_hash_table_unref (t); } /* Each toplevel widget - that is the data window, which generally has a 1-1 association with a dataset - has an associated GHashTable. - + This GHashTable is keyed by the address of a PsppireDialogAction, and its values are user determined pointers (typically a GtkBuilder*). @@ -309,7 +309,7 @@ psppire_dialog_action_init (PsppireDialogAction *act) } void -psppire_dialog_action_set_valid_predicate (PsppireDialogAction *act, +psppire_dialog_action_set_valid_predicate (PsppireDialogAction *act, ContentsAreValid dialog_state_valid) { psppire_dialog_set_valid_predicate (PSPPIRE_DIALOG (act->dialog), @@ -317,14 +317,14 @@ psppire_dialog_action_set_valid_predicate (PsppireDialogAction *act, } void -psppire_dialog_action_set_refresh (PsppireDialogAction *pda, +psppire_dialog_action_set_refresh (PsppireDialogAction *pda, PsppireDialogActionRefresh refresh) { g_signal_connect_swapped (pda->dialog, "refresh", G_CALLBACK (refresh), pda); } -void +void psppire_dialog_action_set_activation (gpointer class, activation activate) { PSPPIRE_DIALOG_ACTION_CLASS (class)->activate = (void (*)(PsppireDialogAction *, GVariant *)) activate;