diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2019-01-19 10:43:42 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2019-01-19 10:43:42 +0000 |
| commit | 61fbe55cc76ee55b722154291285706d0ccf8800 (patch) | |
| tree | 0e287f370cc54b9d6c6dac2452f1f4ebfeeed913 /src/inkscape-application.cpp | |
| parent | Remove unneeded document unref. (diff) | |
| download | inkscape-61fbe55cc76ee55b722154291285706d0ccf8800.tar.gz inkscape-61fbe55cc76ee55b722154291285706d0ccf8800.zip | |
Disable app menu (deprecated in GTK 3.32).
Diffstat (limited to 'src/inkscape-application.cpp')
| -rw-r--r-- | src/inkscape-application.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/inkscape-application.cpp b/src/inkscape-application.cpp index 9a9cd3d75..ec7ab7826 100644 --- a/src/inkscape-application.cpp +++ b/src/inkscape-application.cpp @@ -197,6 +197,8 @@ ConcreteInkscapeApplication<Gtk::Application>::on_startup2() Inkscape::UI::Widget::Panel::prep(); // ========================= Builder ========================== + // App menus deprecated in 3.32. This whole block of code should be + // removed after confirming this code isn't required. _builder = Gtk::Builder::create(); Glib::ustring app_builder_file = get_filename(UIS, "inkscape-application.xml"); @@ -215,7 +217,7 @@ ConcreteInkscapeApplication<Gtk::Application>::on_startup2() if (!menu) { std::cerr << "InkscapeApplication: failed to load application menu!" << std::endl; } else { - set_app_menu(menu); + // set_app_menu(menu); } } |
