summaryrefslogtreecommitdiff
path: root/mate-panel
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-05-16 19:45:52 +0200
committerinfirit <[email protected]>2014-05-16 19:45:52 +0200
commitf06a44bcb24ab5ec6e18998255c09ac635a40552 (patch)
tree051545738ea05e19d4a1f25a6fb95240398ef591 /mate-panel
parent60d55e0c3e7d4a438b0763cecf3311b0ab45cd09 (diff)
downloadmate-panel-f06a44bcb24ab5ec6e18998255c09ac635a40552.tar.bz2
mate-panel-f06a44bcb24ab5ec6e18998255c09ac635a40552.tar.xz
Remove all calls gtk_dialog_set_has_separator
Diffstat (limited to 'mate-panel')
-rw-r--r--mate-panel/panel-addto.c5
-rw-r--r--mate-panel/panel-ditem-editor.c4
2 files changed, 1 insertions, 8 deletions
diff --git a/mate-panel/panel-addto.c b/mate-panel/panel-addto.c
index 6535ba3b..5a06df8c 100644
--- a/mate-panel/panel-addto.c
+++ b/mate-panel/panel-addto.c
@@ -1262,10 +1262,7 @@ panel_addto_dialog_new (PanelWidget *panel_widget)
GTK_STOCK_CLOSE,
GTK_RESPONSE_CLOSE);
gtk_widget_set_sensitive (GTK_WIDGET (dialog->add_button), FALSE);
-#if !GTK_CHECK_VERSION (3, 0, 0)
- gtk_dialog_set_has_separator (GTK_DIALOG (dialog->addto_dialog),
- FALSE);
-#endif
+
gtk_dialog_set_default_response (GTK_DIALOG (dialog->addto_dialog),
PANEL_ADDTO_RESPONSE_ADD);
diff --git a/mate-panel/panel-ditem-editor.c b/mate-panel/panel-ditem-editor.c
index 2f25ca30..7a4a9e64 100644
--- a/mate-panel/panel-ditem-editor.c
+++ b/mate-panel/panel-ditem-editor.c
@@ -622,10 +622,6 @@ panel_ditem_editor_make_ui (PanelDItemEditor *dialog)
dialog_vbox = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
gtk_box_set_spacing (GTK_BOX (dialog_vbox), 2);
-#if !GTK_CHECK_VERSION (3, 0, 0)
- gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
-#endif
-
priv->table = gtk_table_new (4, 3, FALSE);
gtk_container_set_border_width (GTK_CONTAINER (priv->table), 5);
gtk_table_set_row_spacings (GTK_TABLE (priv->table), 6);