summaryrefslogtreecommitdiff
path: root/pluma
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-07-30 13:43:39 +0200
committerraveit65 <[email protected]>2016-07-30 13:45:36 +0200
commit46c3867de5bcdb6abd83724fb6b4654bad21ef75 (patch)
tree42b281e1a42eb90c06648f0f85f4da15cb4e1360 /pluma
parentc56155f057e08a6280f53553823952a15d5aded8 (diff)
downloadpluma-46c3867de5bcdb6abd83724fb6b4654bad21ef75.tar.bz2
pluma-46c3867de5bcdb6abd83724fb6b4654bad21ef75.tar.xz
GTK+-3 plugin-manager: avoid deprecated gtk_tree_view_set_rules_hint
Diffstat (limited to 'pluma')
-rw-r--r--pluma/pluma-plugin-manager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pluma/pluma-plugin-manager.c b/pluma/pluma-plugin-manager.c
index b100384b..9526ce5f 100644
--- a/pluma/pluma-plugin-manager.c
+++ b/pluma/pluma-plugin-manager.c
@@ -659,7 +659,9 @@ plugin_manager_construct_tree (PlumaPluginManager *pm)
GTK_TREE_MODEL (model));
g_object_unref (model);
+#if !GTK_CHECK_VERSION (3, 0, 0)
gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (pm->priv->tree), TRUE);
+#endif
gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (pm->priv->tree), FALSE);
/* first column */