summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-05-25 21:13:24 +0200
committerraveit65 <[email protected]>2016-05-26 01:50:51 +0200
commit090b9ce9c7ca86787478700470aae87951c4976c (patch)
tree216675755507e3c6e60b86f376b5b7adf731b28f
parent97b4a71cddd500981a35710505bc28bb4cdcdd75 (diff)
downloadengrampa-090b9ce9c7ca86787478700470aae87951c4976c.tar.bz2
engrampa-090b9ce9c7ca86787478700470aae87951c4976c.tar.xz
GTK3 eggfileformatchooser: don't use deprecated gtk_tree_view_set_rules_hint
-rw-r--r--src/eggfileformatchooser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eggfileformatchooser.c b/src/eggfileformatchooser.c
index 7187471..2e5ac16 100644
--- a/src/eggfileformatchooser.c
+++ b/src/eggfileformatchooser.c
@@ -413,7 +413,9 @@ egg_file_format_chooser_init (EggFileFormatChooser *self)
view = gtk_tree_view_new_with_model (GTK_TREE_MODEL (self->priv->model));
self->priv->selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (view));
+#if !GTK_CHECK_VERSION (3, 0, 0)
gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (view), TRUE);
+#endif
/* file format column */