Code

overwritten heap, wrong casts fixed. Closes SF#1575829
[inkscape.git] / src / ui / widget / labelled.cpp
index 64f9aef8312a7bb567308bb1dae9ff665bb4935c..8f9eda3d73dc8bb75863be7d5a64231a937523bf 100644 (file)
@@ -48,7 +48,7 @@ Labelled::Labelled(Glib::ustring const &label, Glib::ustring const &tooltip,
 {
     g_assert(g_utf8_validate(icon.c_str(), -1, NULL));
     if (icon != "") {
-        _icon = sp_icon_get_icon(icon.c_str(), GTK_ICON_SIZE_LARGE_TOOLBAR);
+        _icon = sp_icon_get_icon(icon.c_str(), Inkscape::ICON_SIZE_LARGE_TOOLBAR);
         pack_start(*Gtk::manage(_icon), Gtk::PACK_SHRINK);
     }
     pack_start(*Gtk::manage(_label), Gtk::PACK_EXPAND_WIDGET, 6);