Don't use GTK_WIDGET_STATE in internal code anymore

Use gtk_widget_get/set_state() instead

https://bugzilla.gnome.org/show_bug.cgi?id=69872
This commit is contained in:
Javier Jardón
2010-03-03 21:49:33 +01:00
parent b61fe50640
commit 32b9aeaadd
53 changed files with 218 additions and 197 deletions

View 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);
}