X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fui%2Fgui%2Fpsppire-dialog-action-descriptives.c;h=325596307ee32c07870837f7842fff0febccaf6a;hb=487ffe246e97caf4c0bc8d40b554f2e158982cec;hp=2d6cca337d4219d88691b5a0a85af3e8cdf83294;hpb=258e45aa9b44b6a127e4f23c655f4740c04e05df;p=pspp diff --git a/src/ui/gui/psppire-dialog-action-descriptives.c b/src/ui/gui/psppire-dialog-action-descriptives.c index 2d6cca337d..325596307e 100644 --- a/src/ui/gui/psppire-dialog-action-descriptives.c +++ b/src/ui/gui/psppire-dialog-action-descriptives.c @@ -74,7 +74,7 @@ static const struct checkbox_entry_item stats[] = static char * -generate_syntax (PsppireDialogAction *act) +generate_syntax (const PsppireDialogAction *act) { PsppireDialogActionDescriptives *scd = PSPPIRE_DIALOG_ACTION_DESCRIPTIVES (act); gchar *text; @@ -194,12 +194,12 @@ dialog_refresh (PsppireDialogAction *scd_) static void -psppire_dialog_action_descriptives_activate (GtkAction *a) +psppire_dialog_action_descriptives_activate (PsppireDialogAction *a) { PsppireDialogAction *pda = PSPPIRE_DIALOG_ACTION (a); PsppireDialogActionDescriptives *act = PSPPIRE_DIALOG_ACTION_DESCRIPTIVES (a); - GHashTable *thing = psppire_dialog_action_get_pointer (pda); + GHashTable *thing = psppire_dialog_action_get_hash_table (pda); GtkBuilder *xml = g_hash_table_lookup (thing, a); if (!xml) { @@ -231,8 +231,6 @@ psppire_dialog_action_descriptives_activate (GtkAction *a) psppire_dialog_action_set_valid_predicate (pda, dialog_state_valid); psppire_dialog_action_set_refresh (pda, dialog_refresh); - - PSPPIRE_DIALOG_ACTION_CLASS (psppire_dialog_action_descriptives_parent_class)->activate (pda); } static void