[gedit] Remove gtk_dialog_set_has_separator as it has been deprecated.



commit f2eec51226eed44eb193e0130ef7e104324a74f9
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Sat Sep 4 15:22:14 2010 +0200

    Remove gtk_dialog_set_has_separator as it has been deprecated.

 gedit/dialogs/gedit-close-confirmation-dialog.c |    1 -
 gedit/dialogs/gedit-encodings-dialog.c          |    3 +--
 gedit/dialogs/gedit-preferences-dialog.c        |    1 -
 gedit/dialogs/gedit-search-dialog.c             |    1 -
 plugins/spell/gedit-spell-language-dialog.c     |    1 -
 plugins/time/gedit-time-plugin.c                |    1 -
 6 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/gedit/dialogs/gedit-close-confirmation-dialog.c b/gedit/dialogs/gedit-close-confirmation-dialog.c
index 3b29eec..85a2037 100644
--- a/gedit/dialogs/gedit-close-confirmation-dialog.c
+++ b/gedit/dialogs/gedit-close-confirmation-dialog.c
@@ -202,7 +202,6 @@ gedit_close_confirmation_dialog_init (GeditCloseConfirmationDialog *dlg)
 	gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dlg))),
 			     14);
 	gtk_window_set_resizable (GTK_WINDOW (dlg), FALSE);
-	gtk_dialog_set_has_separator (GTK_DIALOG (dlg), FALSE);
 	gtk_window_set_skip_taskbar_hint (GTK_WINDOW (dlg), TRUE);
 	
 	gtk_window_set_title (GTK_WINDOW (dlg), "");
diff --git a/gedit/dialogs/gedit-encodings-dialog.c b/gedit/dialogs/gedit-encodings-dialog.c
index defefba..a8a626c 100644
--- a/gedit/dialogs/gedit-encodings-dialog.c
+++ b/gedit/dialogs/gedit-encodings-dialog.c
@@ -350,8 +350,7 @@ gedit_encodings_dialog_init (GeditEncodingsDialog *dlg)
 
 	gtk_window_set_title (GTK_WINDOW (dlg), _("Character Encodings"));
 	gtk_window_set_default_size (GTK_WINDOW (dlg), 650, 400);
-	gtk_dialog_set_has_separator (GTK_DIALOG (dlg), FALSE);
-	
+
 	/* HIG defaults */
 	gtk_container_set_border_width (GTK_CONTAINER (dlg), 5);
 	gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dlg))),
diff --git a/gedit/dialogs/gedit-preferences-dialog.c b/gedit/dialogs/gedit-preferences-dialog.c
index 0ae1b30..2a918d5 100644
--- a/gedit/dialogs/gedit-preferences-dialog.c
+++ b/gedit/dialogs/gedit-preferences-dialog.c
@@ -953,7 +953,6 @@ gedit_preferences_dialog_init (GeditPreferencesDialog *dlg)
 
 	gtk_window_set_title (GTK_WINDOW (dlg), _("gedit Preferences"));
 	gtk_window_set_resizable (GTK_WINDOW (dlg), FALSE);
-	gtk_dialog_set_has_separator (GTK_DIALOG (dlg), FALSE);
 	gtk_window_set_destroy_with_parent (GTK_WINDOW (dlg), TRUE);
 
 	/* HIG defaults */
diff --git a/gedit/dialogs/gedit-search-dialog.c b/gedit/dialogs/gedit-search-dialog.c
index 645a822..9729581 100644
--- a/gedit/dialogs/gedit-search-dialog.c
+++ b/gedit/dialogs/gedit-search-dialog.c
@@ -324,7 +324,6 @@ gedit_search_dialog_init (GeditSearchDialog *dlg)
 	dlg->priv = GEDIT_SEARCH_DIALOG_GET_PRIVATE (dlg);
 
 	gtk_window_set_resizable (GTK_WINDOW (dlg), FALSE);
-	gtk_dialog_set_has_separator (GTK_DIALOG (dlg), FALSE);
 	gtk_window_set_destroy_with_parent (GTK_WINDOW (dlg), TRUE);
 
 	gtk_dialog_add_buttons (GTK_DIALOG (dlg),
diff --git a/plugins/spell/gedit-spell-language-dialog.c b/plugins/spell/gedit-spell-language-dialog.c
index 95fcc26..61c7833 100644
--- a/plugins/spell/gedit-spell-language-dialog.c
+++ b/plugins/spell/gedit-spell-language-dialog.c
@@ -140,7 +140,6 @@ create_dialog (GeditSpellLanguageDialog *dlg,
 				NULL);
 
 	gtk_window_set_title (GTK_WINDOW (dlg), _("Set language"));
-	gtk_dialog_set_has_separator (GTK_DIALOG (dlg), FALSE);
 	gtk_window_set_modal (GTK_WINDOW (dlg), TRUE);
 	gtk_window_set_destroy_with_parent (GTK_WINDOW (dlg), TRUE);
 
diff --git a/plugins/time/gedit-time-plugin.c b/plugins/time/gedit-time-plugin.c
index 6b38832..a7c600e 100644
--- a/plugins/time/gedit-time-plugin.c
+++ b/plugins/time/gedit-time-plugin.c
@@ -909,7 +909,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);
-		gtk_dialog_set_has_separator (GTK_DIALOG (err_dialog), FALSE);
 		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))),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]