Append the correct number of null bytes to the end of recoded strings
[pspp] / src / ui / gui / psppire-dialog-action-runs.c
index d1cd70ce84e350909a08644d4b5df380ddfc2762..8649fbbe6dd3c070aeefa3d2702daac8094a17a3 100644 (file)
@@ -157,9 +157,7 @@ psppire_dialog_action_runs_activate (GtkAction *a)
 static void
 psppire_dialog_action_runs_class_init (PsppireDialogActionRunsClass *class)
 {
-  GtkActionClass *action_class = GTK_ACTION_CLASS (class);
-
-  action_class->activate = psppire_dialog_action_runs_activate;
+  psppire_dialog_action_set_activation (class, psppire_dialog_action_runs_activate);
   PSPPIRE_DIALOG_ACTION_CLASS (class)->generate_syntax = generate_syntax;
 }