From: tweenk Date: Sat, 25 Apr 2009 18:20:36 +0000 (+0000) Subject: Fix compile on Windows (the last paramteter is not defaulted in older X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=750d775523090483b297590ea048d0b7a919a198;p=inkscape.git Fix compile on Windows (the last paramteter is not defaulted in older versions of gtkmm) --- diff --git a/src/ui/widget/dock-item.cpp b/src/ui/widget/dock-item.cpp index f718c669c..b48d43076 100644 --- a/src/ui/widget/dock-item.cpp +++ b/src/ui/widget/dock-item.cpp @@ -44,7 +44,7 @@ DockItem::DockItem(Dock& dock, const Glib::ustring& name, const Glib::ustring& l if (!icon_name.empty()) { int width = 0, height = 0; Gtk::IconSize::lookup(Gtk::ICON_SIZE_MENU, width, height); - _icon_pixbuf = Gtk::IconTheme::get_default()->load_icon(icon_name, width); + _icon_pixbuf = Gtk::IconTheme::get_default()->load_icon(icon_name, width, (Gtk::IconLookupFlags) 0); _gdl_dock_item = gdl_dock_item_new_with_pixbuf_icon(name.c_str(), long_name.c_str(), _icon_pixbuf->gobj(), gdl_dock_behavior);