summaryrefslogtreecommitdiff
path: root/gsearchtool/src/gsearchtool.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-21 17:14:01 +0300
committermonsta <[email protected]>2016-01-21 17:31:06 +0300
commit31c6e251a91b52dbba6c9176dd50e37540afbcfb (patch)
tree7236ceab23fc360311120f69f244c268a117d7b8 /gsearchtool/src/gsearchtool.c
parent415ab693bfe52f117e88d0f4629967946e435bd7 (diff)
downloadmate-utils-31c6e251a91b52dbba6c9176dd50e37540afbcfb.tar.bz2
mate-utils-31c6e251a91b52dbba6c9176dd50e37540afbcfb.tar.xz
[GTK+3] gsearchtool: fix a couple of deprecations
Diffstat (limited to 'gsearchtool/src/gsearchtool.c')
-rw-r--r--gsearchtool/src/gsearchtool.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gsearchtool/src/gsearchtool.c b/gsearchtool/src/gsearchtool.c
index 757e8ca2..4fef1547 100644
--- a/gsearchtool/src/gsearchtool.c
+++ b/gsearchtool/src/gsearchtool.c
@@ -2336,7 +2336,9 @@ create_search_results_section (GSearchWindow * gsearch)
gtk_tree_view_set_headers_visible (gsearch->search_results_tree_view, FALSE);
gtk_tree_view_set_search_equal_func (gsearch->search_results_tree_view,
gsearch_equal_func, NULL, NULL);
+#if !GTK_CHECK_VERSION (3, 14, 0)
gtk_tree_view_set_rules_hint (gsearch->search_results_tree_view, TRUE);
+#endif
g_object_unref (G_OBJECT (gsearch->search_results_list_store));
if (gsearch->is_window_accessible) {