summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2015-12-14 13:09:26 +0100
committerWolfgang Ulbrich <[email protected]>2015-12-14 13:09:26 +0100
commit180b08dce15735b6fec5ba6d61f5be13baff8084 (patch)
treecdb7020d96236d24b5a38db4f8dda91a8d491722 /src
parentf8426fec9de47f2fdcc73f8ead03f282955d7982 (diff)
downloadeom-180b08dce15735b6fec5ba6d61f5be13baff8084.tar.bz2
eom-180b08dce15735b6fec5ba6d61f5be13baff8084.tar.xz
Gtk+-3.14: don't use deprecated gtk_tree_view_set_rules_hint
Diffstat (limited to 'src')
-rw-r--r--src/eom-exif-details.c2
-rw-r--r--src/eom-plugin-manager.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/eom-exif-details.c b/src/eom-exif-details.c
index 643b1b7..5a9aff7 100644
--- a/src/eom-exif-details.c
+++ b/src/eom-exif-details.c
@@ -260,7 +260,9 @@ eom_exif_details_init (EomExifDetails *exif_details)
NULL);
gtk_tree_view_append_column (GTK_TREE_VIEW (exif_details), column);
+#if !GTK_CHECK_VERSION (3, 14, 0)
gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (exif_details), TRUE);
+#endif
eom_exif_details_reset (exif_details);
diff --git a/src/eom-plugin-manager.c b/src/eom-plugin-manager.c
index 127db89..05fa2b0 100644
--- a/src/eom-plugin-manager.c
+++ b/src/eom-plugin-manager.c
@@ -746,7 +746,9 @@ plugin_manager_construct_tree (EomPluginManager *pm)
g_object_unref (model);
+#if !GTK_CHECK_VERSION (3, 14, 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 */