diff options
| author | Alexander Valavanis <valavanisalex@gmail.com> | 2019-05-26 15:11:07 +0000 |
|---|---|---|
| committer | Alexander Valavanis <valavanisalex@gmail.com> | 2019-05-26 15:11:07 +0000 |
| commit | 630be8274013c5eef5f19e19a14bc6d759aada5a (patch) | |
| tree | 6774d8db433426ab8361e18638869ad2336bf705 /src/ui/contextmenu.cpp | |
| parent | Rename wrong named function (diff) | |
| download | inkscape-630be8274013c5eef5f19e19a14bc6d759aada5a.tar.gz inkscape-630be8274013c5eef5f19e19a14bc6d759aada5a.zip | |
Rm unused code now Gtk+ >= 3.22 dependency is set
Diffstat (limited to 'src/ui/contextmenu.cpp')
| -rw-r--r-- | src/ui/contextmenu.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/ui/contextmenu.cpp b/src/ui/contextmenu.cpp index a95cb3c20..1424ba4ab 100644 --- a/src/ui/contextmenu.cpp +++ b/src/ui/contextmenu.cpp @@ -283,11 +283,7 @@ void ContextMenu::AppendItemFromVerb(Inkscape::Verb *verb, bool show_icon) // Now create the label and add it to the menu item (with mnemonic) auto const label = Gtk::manage(new Gtk::AccelLabel(action->name, true)); -#if GTKMM_CHECK_VERSION(3,16,0) label->set_xalign(0.0); -#else - label->set_alignment(0.0, 0.5); -#endif sp_shortcut_add_accelerator(GTK_WIDGET(item->gobj()), sp_shortcut_get_primary(verb)); label->set_accel_widget(*item); |
