diff options
-rw-r--r-- | applets/fish/fish.c | 4 | ||||
-rw-r--r-- | mate-panel/panel-addto.c | 5 | ||||
-rw-r--r-- | mate-panel/panel-ditem-editor.c | 4 |
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); |