summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-07-30 15:40:20 +0200
committerraveit65 <[email protected]>2016-07-30 15:40:20 +0200
commitdf6131a532c8332d9a36e04f08a718662fe1d3a2 (patch)
treedeae4a1b8855bf29c006cd70ac414e109c55dccc
parentf04352fb643edd822eb71b59dd0ed8e7a3dd77a0 (diff)
downloadpluma-df6131a532c8332d9a36e04f08a718662fe1d3a2.tar.bz2
pluma-df6131a532c8332d9a36e04f08a718662fe1d3a2.tar.xz
GTK+-3 taglist-plugin-panel: avoid deprecated gtk_tree_view_set_rules_hint
-rw-r--r--plugins/taglist/pluma-taglist-plugin-panel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/taglist/pluma-taglist-plugin-panel.c b/plugins/taglist/pluma-taglist-plugin-panel.c
index f19f6b91..3a8bdae8 100644
--- a/plugins/taglist/pluma-taglist-plugin-panel.c
+++ b/plugins/taglist/pluma-taglist-plugin-panel.c
@@ -731,7 +731,9 @@ pluma_taglist_plugin_panel_init (PlumaTaglistPluginPanel *panel)
panel->priv->tag_groups_combo,
ATK_RELATION_CONTROLLED_BY);
+#if !GTK_CHECK_VERSION(3, 0, 0)
gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (panel->priv->tags_list), FALSE);
+#endif
gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (panel->priv->tags_list), FALSE);
g_object_set (panel->priv->tags_list, "has-tooltip", TRUE, NULL);