diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-03-03 21:49:33 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-03-09 02:40:17 +0100 |
commit | 32b9aeaadd6dbd084344d97c573b0289c1584923 (patch) | |
tree | af4d372c3a024059821c797cdfceced7d466ddae /gtk/gtktogglebutton.c | |
parent | b61fe506408c8ccd0ddb8ae67630ef2b942aac25 (diff) | |
download | gtk+-32b9aeaadd6dbd084344d97c573b0289c1584923.tar.gz |
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
Diffstat (limited to 'gtk/gtktogglebutton.c')
-rw-r--r-- | gtk/gtktogglebutton.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktogglebutton.c b/gtk/gtktogglebutton.c index 35c0f10d8e..54db87ae05 100644 --- a/gtk/gtktogglebutton.c +++ b/gtk/gtktogglebutton.c @@ -426,7 +426,7 @@ gtk_toggle_button_expose (GtkWidget *widget, GtkStateType state_type; GtkShadowType shadow_type; - state_type = GTK_WIDGET_STATE (widget); + state_type = gtk_widget_get_state (widget); if (GTK_TOGGLE_BUTTON (widget)->inconsistent) { |