summaryrefslogtreecommitdiff
path: root/libslab
diff options
context:
space:
mode:
Diffstat (limited to 'libslab')
-rw-r--r--libslab/nameplate-tile.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libslab/nameplate-tile.c b/libslab/nameplate-tile.c
index 706cae46..7aa474be 100644
--- a/libslab/nameplate-tile.c
+++ b/libslab/nameplate-tile.c
@@ -238,7 +238,11 @@ nameplate_tile_setup (NameplateTile *this)
if (GTK_IS_WIDGET (this->subheader))
gtk_container_add (priv->subheader_ctnr, this->subheader);
+#if GTK_CHECK_VERSION(3,20,0)
+ gtk_widget_set_focus_on_click (GTK_WIDGET (this), FALSE);
+#else
gtk_button_set_focus_on_click (GTK_BUTTON (this), FALSE);
+#endif
}
static void