summaryrefslogtreecommitdiff
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
parent60d55e0c3e7d4a438b0763cecf3311b0ab45cd09 (diff)
downloadmate-panel-f06a44bcb24ab5ec6e18998255c09ac635a40552.tar.bz2
mate-panel-f06a44bcb24ab5ec6e18998255c09ac635a40552.tar.xz
Remove all calls gtk_dialog_set_has_separator
-rw-r--r--applets/fish/fish.c4
-rw-r--r--mate-panel/panel-addto.c5
-rw-r--r--mate-panel/panel-ditem-editor.c4
3 files changed, 1 insertions, 12 deletions
diff --git a/applets/fish/fish.c b/applets/fish/fish.c
index c4a91d88..f9a69435 100644
--- a/applets/fish/fish.c
+++ b/applets/fish/fish.c
@@ -850,10 +850,6 @@ static void display_fortune_dialog(FishApplet* fish)
gtk_window_set_icon_name (GTK_WINDOW (fish->fortune_dialog),
FISH_ICON);
-#if !GTK_CHECK_VERSION (3, 0, 0)
- gtk_dialog_set_has_separator (
- GTK_DIALOG (fish->fortune_dialog), FALSE);
-#endif
gtk_dialog_set_default_response (
GTK_DIALOG (fish->fortune_dialog), GTK_RESPONSE_CLOSE);
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);