Append the correct number of null bytes to the end of recoded strings
[pspp] / src / ui / gui / psppire-dialog-action-compute.c
index 048c05de384843bd23e003e0a69ea5d291a7f4c1..5fc63d5dedf48314d4eb017714139ba27fe4cb0b 100644 (file)
@@ -529,9 +529,8 @@ psppire_dialog_action_compute_activate (GtkAction *a)
 static void
 psppire_dialog_action_compute_class_init (PsppireDialogActionComputeClass *class)
 {
-  GtkActionClass *action_class = GTK_ACTION_CLASS (class);
+  psppire_dialog_action_set_activation (class, psppire_dialog_action_compute_activate);
 
-  action_class->activate = psppire_dialog_action_compute_activate;
   PSPPIRE_DIALOG_ACTION_CLASS (class)->generate_syntax = generate_syntax;
 }