[evolution/gtk3] Avoid Deprecated Flag GTK_DIALOG_NO_SEPERATOR
- From: Vibha Yadav <yvibha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gtk3] Avoid Deprecated Flag GTK_DIALOG_NO_SEPERATOR
- Date: Thu, 2 Dec 2010 11:47:15 +0000 (UTC)
commit 83f2fa27cc4f39ea5f43e6c1cbcbdb4dcd344343
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 b97fb8e..7c60ebc 100644
--- a/addressbook/gui/merging/eab-contact-merging.c
+++ b/addressbook/gui/merging/eab-contact-merging.c
@@ -224,7 +224,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 63cc283..15d7fd7 100644
--- a/mail/mail-send-recv.c
+++ b/mail/mail-send-recv.c
@@ -432,7 +432,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 e7d6140..291124d 100644
--- a/plugins/caldav/caldav-browse-server.c
+++ b/plugins/caldav/caldav-browse-server.c
@@ -1367,7 +1367,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 afd69ff..7d0dd87 100644
--- a/shell/e-shell-content.c
+++ b/shell/e-shell-content.c
@@ -608,7 +608,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);
@@ -712,7 +712,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]