diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2016-07-28 12:19:42 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2016-07-28 12:19:42 +0000 |
| commit | 58111034d09da960cf9982b703c6ab2647422e0b (patch) | |
| tree | ae1f1c82364cbf7779f8c97f92f4ead7fa99185c /src/ui/widget/dock-item.cpp | |
| parent | extensions: Drop GTKMM2 fallbacks (diff) | |
| download | inkscape-58111034d09da960cf9982b703c6ab2647422e0b.tar.gz inkscape-58111034d09da960cf9982b703c6ab2647422e0b.zip | |
ui/widgets: Drop GTK2 fallbacks
(bzr r15023.2.6)
Diffstat (limited to 'src/ui/widget/dock-item.cpp')
| -rw-r--r-- | src/ui/widget/dock-item.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/ui/widget/dock-item.cpp b/src/ui/widget/dock-item.cpp index 8d960ddc3..fc41efe52 100644 --- a/src/ui/widget/dock-item.cpp +++ b/src/ui/widget/dock-item.cpp @@ -59,11 +59,7 @@ DockItem::DockItem(Dock& dock, const Glib::ustring& name, const Glib::ustring& l Gtk::StockItem item; Gtk::StockID stockId(icon_name); if ( Gtk::StockItem::lookup(stockId, item) ) { -#if WITH_GTKMM_3_0 _icon_pixbuf = _dock.getWidget().render_icon_pixbuf( stockId, Gtk::ICON_SIZE_MENU ); -#else - _icon_pixbuf = _dock.getWidget().render_icon( stockId, Gtk::ICON_SIZE_MENU ); -#endif } } } @@ -175,12 +171,8 @@ DockItem::set_size_request(int width, int height) void DockItem::size_request(Gtk::Requisition& requisition) { -#if WITH_GTKMM_3_0 Gtk::Requisition req_natural; getWidget().get_preferred_size(req_natural, requisition); -#else - requisition = getWidget().size_request(); -#endif } void |
