diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-09-16 19:42:06 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-09-19 21:05:29 +0000 |
| commit | 239b3c87542b9012eb02106cc2a20ab149cec056 (patch) | |
| tree | 26c29a09765cf0dc4d91f605e03c7846947f0911 /src/ui/desktop | |
| parent | merge to master and cleanup (diff) | |
| download | inkscape-239b3c87542b9012eb02106cc2a20ab149cec056.tar.gz inkscape-239b3c87542b9012eb02106cc2a20ab149cec056.zip | |
sink with master and cleanup
Diffstat (limited to 'src/ui/desktop')
| -rw-r--r-- | src/ui/desktop/menubar.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ui/desktop/menubar.cpp b/src/ui/desktop/menubar.cpp index bab5ff8c9..c222ff7b9 100644 --- a/src/ui/desktop/menubar.cpp +++ b/src/ui/desktop/menubar.cpp @@ -454,9 +454,8 @@ build_menu(Gtk::MenuShell* menu, Inkscape::XML::Node* xml, Inkscape::UI::View::V SPAction* action = verb->get_action(Inkscape::ActionContext(view)); - if (menu_ptr->attribute("check") != nullptr) - { - Gtk::MenuItem* menuitem = build_menu_check_item_from_verb(action); + if (menu_ptr->attribute("check") != nullptr) { + Gtk::MenuItem *menuitem = build_menu_check_item_from_verb(action); if (menuitem) { std::pair<std::pair<unsigned int, Gtk::MenuItem *>, Inkscape::UI::View::View *> verbmenuitem = std::make_pair(std::make_pair(verb->get_code(), menuitem), view); |
