From f23a2d9daa1eb62b2afac8997f1d76eb881628f7 Mon Sep 17 00:00:00 2001 From: Alex Merry Date: Tue, 4 Dec 2012 18:55:25 +0000 Subject: Refactor GraphInputHandler into Tools --- tikzit/src/gtk/Menu.h | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'tikzit/src/gtk/Menu.h') diff --git a/tikzit/src/gtk/Menu.h b/tikzit/src/gtk/Menu.h index f195765..e0f78d4 100644 --- a/tikzit/src/gtk/Menu.h +++ b/tikzit/src/gtk/Menu.h @@ -25,14 +25,12 @@ * Manages the menu */ @interface Menu: NSObject { - Window *window; - GtkUIManager *ui; - GtkActionGroup *staticActions; - GtkActionGroup *documentActions; -// GtkActionGroup *documents_list_menu_actions; - GtkAction *undoAction; - GtkAction *redoAction; - GtkAction *pasteAction; + GtkWidget *menubar; + GtkActionGroup *appActions; + GtkActionGroup *windowActions; + GtkAction *undoAction; // no ref + GtkAction *redoAction; // no ref + GtkAction *pasteAction; // no ref GtkAction **nodeSelBasedActions; guint nodeSelBasedActionCount; GtkAction **edgeSelBasedActions; @@ -45,10 +43,6 @@ * The menubar widget, to be inserted into the window */ @property (readonly) GtkWidget *menubar; -/** - * The window object passed to initForWindow - */ -@property (readonly) Window *window; /** * Constructs the menu for @p window -- cgit v1.2.3