diff options
Diffstat (limited to 'src/ui/dialog/layers.cpp')
| -rw-r--r-- | src/ui/dialog/layers.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/ui/dialog/layers.cpp b/src/ui/dialog/layers.cpp index 449d6be1a..1e2a6ea35 100644 --- a/src/ui/dialog/layers.cpp +++ b/src/ui/dialog/layers.cpp @@ -156,11 +156,7 @@ Gtk::MenuItem& LayersPanel::_addPopupItem( SPDesktop *desktop, unsigned int code } Gtk::Label *menu_label = Gtk::manage(new Gtk::Label(label, true)); -#if GTKMM_CHECK_VERSION(3,16,0) menu_label->set_xalign(0.0); -#else - menu_label->set_alignment(0.0, 0.5); -#endif box->pack_start(*menu_label, true, true, 0); item->add(*box); item->show_all(); @@ -557,11 +553,7 @@ bool LayersPanel::_handleButtonEvent(GdkEventButton* event) if ( _tree.get_path_at_pos( x, y, path ) ) { _checkTreeSelection(); -#if GTKMM_CHECK_VERSION(3,22,0) _popupMenu.popup_at_pointer(reinterpret_cast<GdkEvent *>(event)); -#else - _popupMenu.popup(event->button, event->time); -#endif } } |
