]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtktrayicon-x11.c
Don't use GTK_WIDGET_STATE in internal code anymore
[~andy/gtk] / gtk / gtktrayicon-x11.c
index fed64cf25e5b558f06c8804de9f2fae263aae9bf..49fd86a95648ed706776aa0e018806e9457f3de8 100644 (file)
@@ -259,7 +259,7 @@ gtk_tray_icon_expose (GtkWidget      *widget,
       height = widget->allocation.height - 2 * border_width;
 
       gtk_paint_focus (widget->style, widget->window,
-                       GTK_WIDGET_STATE (widget),
+                       gtk_widget_get_state (widget),
                        &event->area, widget, "tray_icon",
                        x, y, width, height);
     }