[evolution/gtk3: 14/47] Avoid Deprecated Flag GTK_DIALOG_NO_SEPERATOR



commit 2c842cd73044c002fd449c51ff8c11b432012d0c
Author: Vibha Yadav <yvibha novell com>
Date:   Thu Dec 2 17:03:17 2010 +0530

    Avoid Deprecated Flag GTK_DIALOG_NO_SEPERATOR
    
    Using NULL instead of it.

 .../gui/contact-editor/e-contact-quick-add.c       |    2 +-
 addressbook/gui/merging/eab-contact-merging.c      |    2 +-
 mail/em-folder-properties.c                        |    2 +-
 mail/mail-send-recv.c                              |    2 +-
 plugins/caldav/caldav-browse-server.c              |    2 +-
 plugins/groupwise-features/share-folder-common.c   |    2 +-
 shell/e-shell-content.c                            |    4 ++--
 7 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/addressbook/gui/contact-editor/e-contact-quick-add.c b/addressbook/gui/contact-editor/e-contact-quick-add.c
index 032f4ac..f6a58ab 100644
--- a/addressbook/gui/contact-editor/e-contact-quick-add.c
+++ b/addressbook/gui/contact-editor/e-contact-quick-add.c
@@ -354,7 +354,7 @@ build_quick_add_dialog (QuickAdd *qa)
 	dialog = gtk_dialog_new_with_buttons (
 		_("Contact Quick-Add"),
 		e_shell_get_active_window (NULL),
-		GTK_DIALOG_NO_SEPARATOR,
+		0,
 		_("_Edit Full"), QUICK_ADD_RESPONSE_EDIT_FULL,
 		GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
 		GTK_STOCK_OK, GTK_RESPONSE_OK,
diff --git a/addressbook/gui/merging/eab-contact-merging.c b/addressbook/gui/merging/eab-contact-merging.c
index dd99a12..1aababe 100644
--- a/addressbook/gui/merging/eab-contact-merging.c
+++ b/addressbook/gui/merging/eab-contact-merging.c
@@ -221,7 +221,7 @@ mergeit (EContactMergingLookup *lookup)
 	gint row = -1;
 	gint value = 0, result;
 
-	dialog = (GtkDialog *)(gtk_dialog_new_with_buttons (_("Merge Contact"), NULL, GTK_DIALOG_NO_SEPARATOR, NULL));
+	dialog = (GtkDialog *)(gtk_dialog_new_with_buttons (_("Merge Contact"), NULL, 0, NULL));
 	gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);
 
 	content_area = gtk_dialog_get_content_area (dialog);
diff --git a/mail/em-folder-properties.c b/mail/em-folder-properties.c
index 8b454d2..d3388ed 100644
--- a/mail/em-folder-properties.c
+++ b/mail/em-folder-properties.c
@@ -288,7 +288,7 @@ emfp_dialog_got_folder_quota (CamelFolder *folder,
 
 	dialog = gtk_dialog_new_with_buttons (
 		_("Folder Properties"), GTK_WINDOW (shell_window),
-		GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_NO_SEPARATOR,
+		GTK_DIALOG_DESTROY_WITH_PARENT ,
 		GTK_STOCK_CLOSE, GTK_RESPONSE_OK, NULL);
 	gtk_window_set_default_size ((GtkWindow *) dialog, 192, 160);
 
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c
index 1736d7b..d84e907 100644
--- a/mail/mail-send-recv.c
+++ b/mail/mail-send-recv.c
@@ -433,7 +433,7 @@ build_dialog (GtkWindow *parent,
 
 	send_recv_dialog = gtk_dialog_new_with_buttons (
 		_("Send & Receive Mail"), parent,
-		GTK_DIALOG_NO_SEPARATOR, NULL);
+		0, NULL);
 	gd = GTK_DIALOG (send_recv_dialog);
 	gtk_window_set_modal ((GtkWindow *) gd, FALSE);
 
diff --git a/plugins/caldav/caldav-browse-server.c b/plugins/caldav/caldav-browse-server.c
index 95937e0..00bcdcf 100644
--- a/plugins/caldav/caldav-browse-server.c
+++ b/plugins/caldav/caldav-browse-server.c
@@ -1521,7 +1521,7 @@ caldav_browse_server (GtkWindow *parent, const gchar *server_url, const gchar *u
 	dialog = gtk_dialog_new_with_buttons (
 			_("Browse for a CalDAV calendar"),
 			parent,
-			GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_NO_SEPARATOR,
+			GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
 			GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
 			GTK_STOCK_OK, GTK_RESPONSE_OK,
 			NULL);
diff --git a/plugins/groupwise-features/share-folder-common.c b/plugins/groupwise-features/share-folder-common.c
index 4a4e57a..790edb4 100644
--- a/plugins/groupwise-features/share-folder-common.c
+++ b/plugins/groupwise-features/share-folder-common.c
@@ -313,7 +313,7 @@ new_folder_response (EMFolderSelector *emfs, gint response, EMFolderTreeModel *m
 
 	cnc = get_cnc (store);
 	users_dialog = gtk_dialog_new_with_buttons (
-			_("Users"), NULL, GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_NO_SEPARATOR, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,GTK_STOCK_OK, GTK_RESPONSE_OK, NULL);
+			_("Users"), NULL, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,GTK_STOCK_OK, GTK_RESPONSE_OK, NULL);
 	w = gtk_label_new_with_mnemonic (_("Enter the users and set permissions"));
 	gtk_widget_show (w);
 	content_area = gtk_dialog_get_content_area (GTK_DIALOG (users_dialog));
diff --git a/shell/e-shell-content.c b/shell/e-shell-content.c
index 62cfdd4..d9360df 100644
--- a/shell/e-shell-content.c
+++ b/shell/e-shell-content.c
@@ -611,7 +611,7 @@ e_shell_content_run_advanced_search_dialog (EShellContent *shell_content)
 
 	dialog = gtk_dialog_new_with_buttons (
 		_("Advanced Search"), GTK_WINDOW (shell_window),
-		GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_NO_SEPARATOR,
+		GTK_DIALOG_DESTROY_WITH_PARENT ,
 		GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
 		GTK_STOCK_SAVE, GTK_RESPONSE_APPLY,
 		GTK_STOCK_OK, GTK_RESPONSE_OK, NULL);
@@ -715,7 +715,7 @@ e_shell_content_run_save_search_dialog (EShellContent *shell_content)
 
 	dialog = gtk_dialog_new_with_buttons (
 		_("Save Search"), GTK_WINDOW (shell_window),
-		GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_NO_SEPARATOR,
+		GTK_DIALOG_DESTROY_WITH_PARENT ,
 		GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
 		GTK_STOCK_OK, GTK_RESPONSE_OK, NULL);
 



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