summaryrefslogtreecommitdiff
path: root/capplet
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-05-17 14:08:57 +0300
committermonsta <[email protected]>2016-05-17 14:08:57 +0300
commite670e05cb08c66da2838abe2608cfccb8b09fafd (patch)
treef823fc1a2ee1d1beaade9c8805b60939f1ba874c /capplet
parentb17f0ae827ae6f0e949dda38a40ae72d822603b5 (diff)
downloadmate-session-manager-e670e05cb08c66da2838abe2608cfccb8b09fafd.tar.bz2
mate-session-manager-e670e05cb08c66da2838abe2608cfccb8b09fafd.tar.xz
require GTK+ >= 3.14, drop GTK+2 code and --with-gtk build option
Diffstat (limited to 'capplet')
-rw-r--r--capplet/gsm-app-dialog.c4
-rw-r--r--capplet/gsm-properties-dialog.c7
2 files changed, 0 insertions, 11 deletions
diff --git a/capplet/gsm-app-dialog.c b/capplet/gsm-app-dialog.c
index 13e06e4..8eb6bd6 100644
--- a/capplet/gsm-app-dialog.c
+++ b/capplet/gsm-app-dialog.c
@@ -254,10 +254,6 @@ gsm_app_dialog_constructor (GType type,
setup_dialog (dialog);
-#if !GTK_CHECK_VERSION (3, 14, 0)
- gtk_widget_show_all (GTK_WIDGET (dialog));
-#endif
-
return G_OBJECT (dialog);
}
diff --git a/capplet/gsm-properties-dialog.c b/capplet/gsm-properties-dialog.c
index 470fe57..6d75e0a 100644
--- a/capplet/gsm-properties-dialog.c
+++ b/capplet/gsm-properties-dialog.c
@@ -552,9 +552,6 @@ 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,
@@ -661,10 +658,6 @@ gsm_properties_dialog_constructor (GType type,
setup_dialog (dialog);
-#if !GTK_CHECK_VERSION (3, 14, 0)
- gtk_widget_show (GTK_WIDGET (dialog));
-#endif
-
return G_OBJECT (dialog);
}