diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-03-01 04:21:41 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-03-01 06:11:01 +0100 |
commit | 4232115e22c8ea41d6a3faf89bcaadfc9933d5e3 (patch) | |
tree | c9852655f9f10b27287cd09ae61082c033ca43c6 /gtk/gtkcellrenderertoggle.c | |
parent | 64f526d34e1adc609944078e2fea38b2792f8230 (diff) | |
download | gtk+-4232115e22c8ea41d6a3faf89bcaadfc9933d5e3.tar.gz |
Deprecate widget flag: GTK_WIDGET_HAS_FOCUS
Use gtk_widget_has_focus() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
Diffstat (limited to 'gtk/gtkcellrenderertoggle.c')
-rw-r--r-- | gtk/gtkcellrenderertoggle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcellrenderertoggle.c b/gtk/gtkcellrenderertoggle.c index d097bb0847..7d3eb88127 100644 --- a/gtk/gtkcellrenderertoggle.c +++ b/gtk/gtkcellrenderertoggle.c @@ -355,7 +355,7 @@ gtk_cell_renderer_toggle_render (GtkCellRenderer *cell, } else if ((flags & GTK_CELL_RENDERER_SELECTED) == GTK_CELL_RENDERER_SELECTED) { - if (GTK_WIDGET_HAS_FOCUS (widget)) + if (gtk_widget_has_focus (widget)) state = GTK_STATE_SELECTED; else state = GTK_STATE_ACTIVE; |