From b3097ad42becf1943377a07919d7b9598386c13d Mon Sep 17 00:00:00 2001 From: infirit Date: Mon, 19 May 2014 12:54:08 +0200 Subject: Remove all calls to deprecated gtk_dialog_set_has_separator --- plugins/spell/pluma-spell-language-dialog.c | 3 --- plugins/time/pluma-time-plugin.c | 6 ------ pluma/dialogs/pluma-close-confirmation-dialog.c | 3 --- pluma/dialogs/pluma-encodings-dialog.c | 3 --- pluma/dialogs/pluma-preferences-dialog.c | 3 --- pluma/dialogs/pluma-search-dialog.c | 3 --- 6 files changed, 21 deletions(-) diff --git a/plugins/spell/pluma-spell-language-dialog.c b/plugins/spell/pluma-spell-language-dialog.c index 464a0cd7..0690e1cc 100755 --- a/plugins/spell/pluma-spell-language-dialog.c +++ b/plugins/spell/pluma-spell-language-dialog.c @@ -139,9 +139,6 @@ create_dialog (PlumaSpellLanguageDialog *dlg, NULL); gtk_window_set_title (GTK_WINDOW (dlg), _("Set language")); -#if !GTK_CHECK_VERSION (3, 0, 0) - gtk_dialog_set_has_separator (GTK_DIALOG (dlg), FALSE); -#endif gtk_window_set_modal (GTK_WINDOW (dlg), TRUE); gtk_window_set_destroy_with_parent (GTK_WINDOW (dlg), TRUE); diff --git a/plugins/time/pluma-time-plugin.c b/plugins/time/pluma-time-plugin.c index b275ea41..006d441c 100755 --- a/plugins/time/pluma-time-plugin.c +++ b/plugins/time/pluma-time-plugin.c @@ -770,9 +770,6 @@ get_configure_dialog (PlumaTimePlugin *plugin) } gtk_window_set_resizable (GTK_WINDOW (dialog->dialog), FALSE); -#if !GTK_CHECK_VERSION (3, 0, 0) - gtk_dialog_set_has_separator (GTK_DIALOG (dialog->dialog), FALSE); -#endif sf = get_selected_format (plugin); create_formats_list (dialog->list, sf, plugin); @@ -936,9 +933,6 @@ get_choose_format_dialog (GtkWindow *parent, gtk_window_group_add_window (wg, GTK_WINDOW (err_dialog)); gtk_window_set_resizable (GTK_WINDOW (err_dialog), FALSE); -#if !GTK_CHECK_VERSION (3, 0, 0) - gtk_dialog_set_has_separator (GTK_DIALOG (err_dialog), FALSE); -#endif gtk_dialog_set_default_response (GTK_DIALOG (err_dialog), GTK_RESPONSE_OK); gtk_container_add (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (err_dialog))), diff --git a/pluma/dialogs/pluma-close-confirmation-dialog.c b/pluma/dialogs/pluma-close-confirmation-dialog.c index 553b9f67..f8e87f7e 100755 --- a/pluma/dialogs/pluma-close-confirmation-dialog.c +++ b/pluma/dialogs/pluma-close-confirmation-dialog.c @@ -199,9 +199,6 @@ pluma_close_confirmation_dialog_init (PlumaCloseConfirmationDialog *dlg) gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dlg))), 14); gtk_window_set_resizable (GTK_WINDOW (dlg), FALSE); -#if !GTK_CHECK_VERSION (3, 0, 0) - gtk_dialog_set_has_separator (GTK_DIALOG (dlg), FALSE); -#endif gtk_window_set_skip_taskbar_hint (GTK_WINDOW (dlg), TRUE); gtk_window_set_title (GTK_WINDOW (dlg), ""); diff --git a/pluma/dialogs/pluma-encodings-dialog.c b/pluma/dialogs/pluma-encodings-dialog.c index 263a4aae..9a78ebe1 100755 --- a/pluma/dialogs/pluma-encodings-dialog.c +++ b/pluma/dialogs/pluma-encodings-dialog.c @@ -320,9 +320,6 @@ pluma_encodings_dialog_init (PlumaEncodingsDialog *dlg) gtk_window_set_title (GTK_WINDOW (dlg), _("Character Encodings")); gtk_window_set_default_size (GTK_WINDOW (dlg), 650, 400); -#if !GTK_CHECK_VERSION (3, 0, 0) - gtk_dialog_set_has_separator (GTK_DIALOG (dlg), FALSE); -#endif /* HIG defaults */ gtk_container_set_border_width (GTK_CONTAINER (dlg), 5); diff --git a/pluma/dialogs/pluma-preferences-dialog.c b/pluma/dialogs/pluma-preferences-dialog.c index d475ae25..c9d49d02 100755 --- a/pluma/dialogs/pluma-preferences-dialog.c +++ b/pluma/dialogs/pluma-preferences-dialog.c @@ -1089,9 +1089,6 @@ pluma_preferences_dialog_init (PlumaPreferencesDialog *dlg) gtk_window_set_title (GTK_WINDOW (dlg), _("pluma Preferences")); gtk_window_set_resizable (GTK_WINDOW (dlg), FALSE); -#if !GTK_CHECK_VERSION (3, 0, 0) - gtk_dialog_set_has_separator (GTK_DIALOG (dlg), FALSE); -#endif gtk_window_set_destroy_with_parent (GTK_WINDOW (dlg), TRUE); /* HIG defaults */ diff --git a/pluma/dialogs/pluma-search-dialog.c b/pluma/dialogs/pluma-search-dialog.c index 993c92ac..18097cb8 100755 --- a/pluma/dialogs/pluma-search-dialog.c +++ b/pluma/dialogs/pluma-search-dialog.c @@ -334,9 +334,6 @@ pluma_search_dialog_init (PlumaSearchDialog *dlg) dlg->priv = PLUMA_SEARCH_DIALOG_GET_PRIVATE (dlg); gtk_window_set_resizable (GTK_WINDOW (dlg), FALSE); -#if !GTK_CHECK_VERSION (3, 0, 0) - gtk_dialog_set_has_separator (GTK_DIALOG (dlg), FALSE); -#endif gtk_window_set_destroy_with_parent (GTK_WINDOW (dlg), TRUE); gtk_dialog_add_buttons (GTK_DIALOG (dlg), -- cgit v1.2.1