Compilation fix for Gtk+ 3
This commit is contained in:
parent
efe493014f
commit
a13dc1bf35
|
@ -483,8 +483,7 @@ void desktopicon_set_foreground(DesktopIcon * desktopicon, GdkColor * color)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
#if GTK_CHECK_VERSION(3, 0, 0)
|
#if GTK_CHECK_VERSION(3, 0, 0)
|
||||||
gtk_widget_override_foreground_color(desktopicon->event,
|
gtk_widget_override_color(desktopicon->event, GTK_STATE_NORMAL, color);
|
||||||
GTK_STATE_NORMAL, color);
|
|
||||||
#else
|
#else
|
||||||
gtk_widget_modify_fg(desktopicon->label, GTK_STATE_NORMAL, color);
|
gtk_widget_modify_fg(desktopicon->label, GTK_STATE_NORMAL, color);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user