X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-dialog-action-1sks.c;h=7f31ebac476adf716f5e44d16751def4a83d4025;hb=c93746a01fe6054f85d7942f09de983c3a6d363f;hp=fda5b4b479ed3d56bbaea51893a7a9f08143b4ec;hpb=ed208cf009043f0bf319a4e919c279d5b1401f36;p=pspp diff --git a/src/ui/gui/psppire-dialog-action-1sks.c b/src/ui/gui/psppire-dialog-action-1sks.c index fda5b4b479..7f31ebac47 100644 --- a/src/ui/gui/psppire-dialog-action-1sks.c +++ b/src/ui/gui/psppire-dialog-action-1sks.c @@ -52,7 +52,7 @@ append_fragment (GString *string, const gchar *dist, PsppireVarView *vv) static char * -generate_syntax (PsppireDialogAction *act) +generate_syntax (const PsppireDialogAction *act) { PsppireDialogAction1sks *rd = PSPPIRE_DIALOG_ACTION_1SKS (act); gchar *text; @@ -117,7 +117,7 @@ refresh (PsppireDialogAction *rd_) } static void -psppire_dialog_action_1sks_activate (GtkAction *a) +psppire_dialog_action_1sks_activate (PsppireDialogAction *a) { PsppireDialogAction *pda = PSPPIRE_DIALOG_ACTION (a); PsppireDialogAction1sks *act = PSPPIRE_DIALOG_ACTION_1SKS (a); @@ -143,8 +143,6 @@ psppire_dialog_action_1sks_activate (GtkAction *a) psppire_dialog_action_set_valid_predicate (pda, dialog_state_valid); psppire_dialog_action_set_refresh (pda, refresh); - if (PSPPIRE_DIALOG_ACTION_CLASS (psppire_dialog_action_1sks_parent_class)->activate) - PSPPIRE_DIALOG_ACTION_CLASS (psppire_dialog_action_1sks_parent_class)->activate (pda); } static void