summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrendererspinner.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkcellrendererspinner.c')
-rw-r--r--gtk/gtkcellrendererspinner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcellrendererspinner.c b/gtk/gtkcellrendererspinner.c
index 2524aca2d7..fe1d8d9fc0 100644
--- a/gtk/gtkcellrendererspinner.c
+++ b/gtk/gtkcellrendererspinner.c
@@ -368,7 +368,7 @@ gtk_cell_renderer_spinner_render (GtkCellRenderer *cellr,
{
if ((flags & GTK_CELL_RENDERER_SELECTED) != 0)
{
- if (GTK_WIDGET_HAS_FOCUS (widget))
+ if (gtk_widget_has_focus (widget))
state = GTK_STATE_SELECTED;
else
state = GTK_STATE_ACTIVE;