aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/gui/main.c2
-rw-r--r--calendar/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/main.c b/calendar/gui/main.c
index 8914a7ada1..e41c2b2ce2 100644
--- a/calendar/gui/main.c
+++ b/calendar/gui/main.c
@@ -175,7 +175,7 @@ about_calendar_cmd (GtkWidget *widget, void *data)
authors,
_("The GNOME personal calendar and schedule manager."),
NULL);
- gnome_dialog_set_modal (GNOME_DIALOG (about));
+ gtk_window_set_modal (GTK_WINDOW (about), TRUE);
gnome_dialog_set_close (GNOME_DIALOG (about), TRUE);
gtk_widget_show (about);
}
diff --git a/calendar/main.c b/calendar/main.c
index 8914a7ada1..e41c2b2ce2 100644
--- a/calendar/main.c
+++ b/calendar/main.c
@@ -175,7 +175,7 @@ about_calendar_cmd (GtkWidget *widget, void *data)
authors,
_("The GNOME personal calendar and schedule manager."),
NULL);
- gnome_dialog_set_modal (GNOME_DIALOG (about));
+ gtk_window_set_modal (GTK_WINDOW (about), TRUE);
gnome_dialog_set_close (GNOME_DIALOG (about), TRUE);
gtk_widget_show (about);
}