diff options
| author | Liam P. White <inkscapebronyat-signgmaildotcom> | 2014-03-20 21:09:57 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebronyat-signgmaildotcom> | 2014-03-20 21:09:57 +0000 |
| commit | 9a04c985ec628dc749a8a82d94bcf47d482a4f63 (patch) | |
| tree | bcf348f1129c63a5dbc08e3e699e9375bead1724 /src/ui/dialog/objects.cpp | |
| parent | Fix a compiler error on Windows (diff) | |
| download | inkscape-9a04c985ec628dc749a8a82d94bcf47d482a4f63.tar.gz inkscape-9a04c985ec628dc749a8a82d94bcf47d482a4f63.zip | |
Fix a linker error ("static")
(hopefully) Resolve compiler errors with GTK3+
(bzr r13090.1.28)
Diffstat (limited to 'src/ui/dialog/objects.cpp')
| -rw-r--r-- | src/ui/dialog/objects.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/dialog/objects.cpp b/src/ui/dialog/objects.cpp index 338233042..85583a0e7 100644 --- a/src/ui/dialog/objects.cpp +++ b/src/ui/dialog/objects.cpp @@ -1887,8 +1887,9 @@ ObjectsPanel::ObjectsPanel() : btn = Gtk::manage( new Gtk::Button() ); btn->set_tooltip_text(_("Collapse All")); #if GTK_CHECK_VERSION(3,10,0) - btn->set_from_icon_name(INKSCAPE_ICON("gtk-unindent-ltr"), Gtk::ICON_SIZE_SMALL_TOOLBAR); + btn->set_image_from_icon_name(INKSCAPE_ICON("gtk-unindent-ltr"), Gtk::ICON_SIZE_SMALL_TOOLBAR); #else + image_remove = Gtk::manage(new Gtk::Image()); image_remove->set_from_icon_name(INKSCAPE_ICON("gtk-unindent-ltr"), Gtk::ICON_SIZE_SMALL_TOOLBAR); btn->set_image(*image_remove); #endif |
