Compilation fix for Gtk+ 3

This commit is contained in:
Pierre Pronchery 2015-10-19 01:35:49 +02:00
parent efe493014f
commit a13dc1bf35

View File

@ -483,8 +483,7 @@ void desktopicon_set_foreground(DesktopIcon * desktopicon, GdkColor * color)
#endif
{
#if GTK_CHECK_VERSION(3, 0, 0)
gtk_widget_override_foreground_color(desktopicon->event,
GTK_STATE_NORMAL, color);
gtk_widget_override_color(desktopicon->event, GTK_STATE_NORMAL, color);
#else
gtk_widget_modify_fg(desktopicon->label, GTK_STATE_NORMAL, color);
#endif