aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-timezone-entry.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-timezone-entry.c')
-rw-r--r--calendar/gui/e-timezone-entry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/e-timezone-entry.c b/calendar/gui/e-timezone-entry.c
index 8f85cbff2e..7f5c36600b 100644
--- a/calendar/gui/e-timezone-entry.c
+++ b/calendar/gui/e-timezone-entry.c
@@ -216,7 +216,7 @@ on_button_clicked (GtkWidget *widget,
dialog = e_timezone_dialog_get_toplevel (timezone_dialog);
- if (gnome_dialog_run_and_close (GNOME_DIALOG (dialog)) == 0) {
+ if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_ACCEPT) {
tzid = e_timezone_dialog_get_timezone (E_TIMEZONE_DIALOG (timezone_dialog), &display_name);
old_display_name = gtk_entry_get_text (GTK_ENTRY (priv->entry));
/* See if the timezone has been changed. It can only have been