summaryrefslogtreecommitdiff
path: root/libslab/tile.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-01-28 20:16:00 +0100
committerStefano Karapetsas <[email protected]>2014-01-28 20:16:00 +0100
commita3c69729467538e2821f0a27efbf0a8477d35791 (patch)
tree2f2add9b2477b400fef28613d6661ec2f6f8a414 /libslab/tile.c
parentee511ba9f042c64be34af0f7d8123391605a34c3 (diff)
parent38f7a4c66ec15897c05eb0f3577aaca4cb1b884d (diff)
downloadmate-control-center-a3c69729467538e2821f0a27efbf0a8477d35791.tar.bz2
mate-control-center-a3c69729467538e2821f0a27efbf0a8477d35791.tar.xz
Merge branch 'master' of github.com:mate-desktop/mate-control-center
Diffstat (limited to 'libslab/tile.c')
-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);