summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2015-11-21 17:52:40 +0100
committerWolfgang Ulbrich <[email protected]>2015-12-02 00:17:20 +0100
commite422b96c6388526bf5549974f9b705638a61d08e (patch)
tree4a8fd46070c0349c0fc9f90121449ad4d6d8464c
parente14591b88509be82cc3de018d846ea215c973569 (diff)
downloadmate-session-manager-e422b96c6388526bf5549974f9b705638a61d08e.tar.bz2
mate-session-manager-e422b96c6388526bf5549974f9b705638a61d08e.tar.xz
Gtk+-3.14: don't use deprecated gtk_tree_view_set_rules_hint
-rw-r--r--capplet/gsm-properties-dialog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/capplet/gsm-properties-dialog.c b/capplet/gsm-properties-dialog.c
index 3fcb4bd..470fe57 100644
--- a/capplet/gsm-properties-dialog.c
+++ b/capplet/gsm-properties-dialog.c
@@ -552,7 +552,9 @@ setup_dialog (GsmPropertiesDialog *dialog)
gtk_tree_view_column_set_sort_column_id (column, STORE_COL_DESCRIPTION);
gtk_tree_view_set_search_column (treeview, STORE_COL_SEARCH);
+#if !GTK_CHECK_VERSION (3, 14, 0)
gtk_tree_view_set_rules_hint (treeview, TRUE);
+#endif
gtk_tree_view_enable_model_drag_source (treeview,
GDK_BUTTON1_MASK|GDK_BUTTON2_MASK,