X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=src%2Fui%2Fgui%2Fpsppire-dialog-action-autorecode.c;h=505ff30261c3ee12f19baeae6be6141e96546eef;hb=dae6cb8b61f6c4864c428e94aaaf680de510041e;hp=24cbe54210706b7742c30731fce54e5cb3581782;hpb=da08e8b9ea6bfa772b4daec4a944279267852515;p=pspp diff --git a/src/ui/gui/psppire-dialog-action-autorecode.c b/src/ui/gui/psppire-dialog-action-autorecode.c index 24cbe54210..505ff30261 100644 --- a/src/ui/gui/psppire-dialog-action-autorecode.c +++ b/src/ui/gui/psppire-dialog-action-autorecode.c @@ -112,7 +112,7 @@ nlp_destroy (gpointer data) static char * -generate_syntax (PsppireDialogAction *act) +generate_syntax (const PsppireDialogAction *act) { PsppireDialogActionAutorecode *rd = PSPPIRE_DIALOG_ACTION_AUTORECODE (act); @@ -309,7 +309,7 @@ render_new_var_name (GtkTreeViewColumn *tree_column, static void -psppire_dialog_action_autorecode_activate (GtkAction *a) +psppire_dialog_action_autorecode_activate (PsppireDialogAction *a) { PsppireDialogActionAutorecode *act = PSPPIRE_DIALOG_ACTION_AUTORECODE (a); PsppireDialogAction *pda = PSPPIRE_DIALOG_ACTION (a); @@ -380,8 +380,6 @@ psppire_dialog_action_autorecode_activate (GtkAction *a) psppire_dialog_action_set_refresh (pda, refresh); psppire_dialog_action_set_valid_predicate (pda, dialog_state_valid); - if (PSPPIRE_DIALOG_ACTION_CLASS (psppire_dialog_action_autorecode_parent_class)->activate) - PSPPIRE_DIALOG_ACTION_CLASS (psppire_dialog_action_autorecode_parent_class)->activate (pda); } static void