summaryrefslogtreecommitdiff
path: root/libslab
diff options
context:
space:
mode:
Diffstat (limited to 'libslab')
-rw-r--r--libslab/tile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libslab/tile.c b/libslab/tile.c
index aaa4203e..d91c571d 100644
--- a/libslab/tile.c
+++ b/libslab/tile.c
@@ -308,7 +308,7 @@ tile_enter (GtkButton * widget)
static void
tile_leave (GtkButton * widget)
{
- if (gtk_widget_has_focus (widget))
+ if (gtk_widget_has_focus (GTK_WIDGET (widget)))
gtk_widget_set_state (GTK_WIDGET (widget), TILE_STATE_FOCUSED);
else
gtk_widget_set_state (GTK_WIDGET (widget), GTK_STATE_NORMAL);