From 4e9ea206bf17a0520e154c0fabe0128a4cc4f6fb Mon Sep 17 00:00:00 2001 From: Alexander Valavanis Date: Wed, 28 Jun 2017 16:57:52 +0200 Subject: Revert "menu-items: C++ify" This reverts commit d483c2ab23354cf5ea58a2d2225ab464b77f6614. --- src/ui/interface.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/ui/interface.h') diff --git a/src/ui/interface.h b/src/ui/interface.h index 6b687aa78..6e95c161c 100644 --- a/src/ui/interface.h +++ b/src/ui/interface.h @@ -23,10 +23,6 @@ class SPViewWidget; typedef struct _GtkWidget GtkWidget; -namespace Gtk { -class MenuBar; -} - namespace Inkscape { class Verb; @@ -34,12 +30,9 @@ namespace UI { namespace View { class View; } // namespace View - - } // namespace UI } // namespace Inkscape - /** * Create a new document window. */ @@ -77,7 +70,7 @@ unsigned int sp_ui_close_all (void); * * @param view View to build the bar for */ -Gtk::MenuBar * sp_ui_main_menubar(Inkscape::UI::View::View *view); +GtkWidget *sp_ui_main_menubar (Inkscape::UI::View::View *view); void sp_menu_append_recent_documents (GtkWidget *menu); void sp_ui_dialog_title_string (Inkscape::Verb * verb, char* c); -- cgit v1.2.3