X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fmemorandum.txt;h=0df450b5c321c6a508e07bd8e77fac0779bc0294;hb=17339b8ef2b6c9c403ceccb9f0ab534a943f92e1;hp=60db53fc38733a610756d31a51c9bd394002657e;hpb=69353cc026fc6d45f936fb6e02823a5d7939ef55;p=pspp diff --git a/src/ui/gui/memorandum.txt b/src/ui/gui/memorandum.txt index 60db53fc38..0df450b5c3 100644 --- a/src/ui/gui/memorandum.txt +++ b/src/ui/gui/memorandum.txt @@ -169,7 +169,7 @@ Displaying the Dialog box in Psppire 1. Define a new PsppireDialogAction Class Create a new object class derived from PsppireDialogAction (note that -PsppireDialogAction itself derives from GtkAction). It's probably +PsppireDialogAction itself implements GAction). It's probably best if you use an existing example as a template. The minimum you require is: @@ -213,7 +213,7 @@ refresh (PsppireDialogAction *rd_) // This function is called when the menuitem is activated. // It is what pops up the dialog static void -psppire_dialog_action_foobar_activate (GtkAction *a) +psppire_dialog_action_foobar_activate (GAction *a) { PsppireDialogAction *pda = PSPPIRE_DIALOG_ACTION (a); PsppireDialogActionFoobar *act = PSPPIRE_DIALOG_ACTION_FOOBAR (a); @@ -244,7 +244,7 @@ psppire_dialog_action_foobar_activate (GtkAction *a) static void psppire_dialog_action_foobar_class_init (PsppireDialogActionFoobarClass *class) { - GtkActionClass *action_class = GTK_ACTION_CLASS (class); + GActionClass *action_class = GTK_ACTION_CLASS (class); action_class->activate = psppire_dialog_action_foobar_activate; PSPPIRE_DIALOG_ACTION_CLASS (class)->generate_syntax = generate_syntax;