summaryrefslogtreecommitdiffstats
path: root/src/inkscape-window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inkscape-window.cpp')
-rw-r--r--src/inkscape-window.cpp4
1 files changed, 3 insertions, 1 deletions
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();