summaryrefslogtreecommitdiff
path: root/libslab
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-01-28 17:07:40 +0100
committerStefano Karapetsas <[email protected]>2014-01-28 17:07:40 +0100
commit44c15cac8d362deb7a4febd16d9dc2288f4f54e7 (patch)
tree599aedd002c465d4b0f4f1601332e999c5bbdb59 /libslab
parent2df56b620bc0b98adad27688985be31d5c830242 (diff)
downloadmate-control-center-44c15cac8d362deb7a4febd16d9dc2288f4f54e7.tar.bz2
mate-control-center-44c15cac8d362deb7a4febd16d9dc2288f4f54e7.tar.xz
Fix some gcc warnings
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);