Skip to content
Snippets Groups Projects
Commit 43058c2c authored by Andrzej's avatar Andrzej
Browse files

Fixed a compilation error with the newest dev panel API.

parent 15d8d49a
No related branches found
Tags thunar-0.9.92 xfce-4.6beta2
No related merge requests found
......@@ -257,7 +257,7 @@ thunar_tpa_size_changed (XfcePanelPlugin *panel_plugin,
gtk_widget_set_size_request (GTK_WIDGET (panel_plugin), size, size);
#if LIBXFCE4PANEL_CHECK_VERSION (4,13,0)
image_size = xfce_panel_plugin_get_icon_size (panel_plugin, GTK_WIDGET (plugin->button));
image_size = xfce_panel_plugin_get_icon_size (panel_plugin);
#else
image_size = size - 2; // fall-back for older panel versions
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment