Code

Fix compile on Windows (the last paramteter is not defaulted in older
authortweenk <tweenk@users.sourceforge.net>
Sat, 25 Apr 2009 18:20:36 +0000 (18:20 +0000)
committertweenk <tweenk@users.sourceforge.net>
Sat, 25 Apr 2009 18:20:36 +0000 (18:20 +0000)
versions of gtkmm)

src/ui/widget/dock-item.cpp

index f718c669cd5edc34afad71ec5876824fb21aea64..b48d43076dd04a7302e167e755a7cc9e55d99e77 100644 (file)
@@ -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);