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/gtkcellrenderertext.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/gtkcellrenderertext.c')
-rw-r--r-- | gtk/gtkcellrenderertext.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcellrenderertext.c b/gtk/gtkcellrenderertext.c index ca5588d1a6..8060ade4ac 100644 --- a/gtk/gtkcellrenderertext.c +++ b/gtk/gtkcellrenderertext.c @@ -1642,13 +1642,13 @@ gtk_cell_renderer_text_render (GtkCellRenderer *cell, state = GTK_STATE_ACTIVE; } else if ((flags & GTK_CELL_RENDERER_PRELIT) == GTK_CELL_RENDERER_PRELIT && - GTK_WIDGET_STATE (widget) == GTK_STATE_PRELIGHT) + gtk_widget_get_state (widget) == GTK_STATE_PRELIGHT) { state = GTK_STATE_PRELIGHT; } else { - if (GTK_WIDGET_STATE (widget) == GTK_STATE_INSENSITIVE) + if (gtk_widget_get_state (widget) == GTK_STATE_INSENSITIVE) state = GTK_STATE_INSENSITIVE; else state = GTK_STATE_NORMAL; |