From 2c971690777ca2dca936245569bae9dfb76513e8 Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Fri, 25 Jan 2019 10:36:53 +0100 Subject: Rewrite main menu bar code: Convert to GTKMM. General cleanup. Move to dedicated files. --- src/inkscape-window.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/inkscape-window.cpp') diff --git a/src/inkscape-window.cpp b/src/inkscape-window.cpp index 70192b711..08e8407c9 100644 --- a/src/inkscape-window.cpp +++ b/src/inkscape-window.cpp @@ -26,6 +26,8 @@ #include "ui/interface.h" // main menu #include "ui/monitor.h" // get_monitor_geometry_at_point() +#include "ui/desktop/menubar.h" + #include "ui/drag-and-drop.h" #include "widgets/desktop-widget.h" @@ -66,7 +68,7 @@ InkscapeWindow::InkscapeWindow(SPDocument* document) _desktop = _desktop_widget->desktop; // Menu bar (must come after desktop widget creation as we need _desktop) - _menubar = Glib::wrap(GTK_MENU_BAR(sp_ui_main_menubar(_desktop))); + _menubar = build_menubar(_desktop); _menubar->set_name("MenuBar"); _menubar->show_all(); -- cgit v1.2.3