summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/openfiles.cpp3
-rw-r--r--src/procdialogs.cpp6
2 files changed, 0 insertions, 9 deletions
diff --git a/src/openfiles.cpp b/src/openfiles.cpp
index 2047e21..3aa26e9 100644
--- a/src/openfiles.cpp
+++ b/src/openfiles.cpp
@@ -336,9 +336,6 @@ create_single_openfiles_dialog (GtkTreeModel *model, GtkTreePath *path,
NULL);
gtk_window_set_resizable (GTK_WINDOW (openfilesdialog), TRUE);
gtk_window_set_default_size (GTK_WINDOW (openfilesdialog), 575, 400);
-#if !GTK_CHECK_VERSION(2,22,0)
- g_object_set(G_OBJECT(openfilesdialog), "has-separator", FALSE, NULL);
-#endif
gtk_container_set_border_width (GTK_CONTAINER (openfilesdialog), 5);
vbox = gtk_dialog_get_content_area (GTK_DIALOG (openfilesdialog));
diff --git a/src/procdialogs.cpp b/src/procdialogs.cpp
index 1d4edbc..b846d04 100644
--- a/src/procdialogs.cpp
+++ b/src/procdialogs.cpp
@@ -182,9 +182,6 @@ procdialog_create_renice_dialog (ProcData *procdata)
NULL);
renice_dialog = dialog;
gtk_window_set_resizable (GTK_WINDOW (renice_dialog), FALSE);
-#if !GTK_CHECK_VERSION(2,22,0)
- g_object_set (G_OBJECT (renice_dialog), "has-separator", FALSE, NULL);
-#endif
gtk_container_set_border_width (GTK_CONTAINER (renice_dialog), 5);
button = gtk_button_new ();
@@ -509,9 +506,6 @@ procdialog_create_preferences_dialog (ProcData *procdata)
/* any function to set list height by contents/items inside it. */
gtk_window_set_default_size (GTK_WINDOW (dialog), 400, 420);
gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);
-#if !GTK_CHECK_VERSION(2,22,0)
- g_object_set (G_OBJECT (dialog), "has-separator", FALSE, NULL);
-#endif
prefs_dialog = dialog;
main_vbox = gtk_dialog_get_content_area (GTK_DIALOG (dialog));