From da6a42ae382c1fca01cd420fe9ed313f2d4265b1 Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Thu, 10 Dec 1998 02:57:11 +0000 Subject: Use gnome_dialog_set_parent. ditto ditto. 1998-12-09 Miguel de Icaza * gncal-todo.c (simple_todo_editor): Use gnome_dialog_set_parent. * goto.c (goto_dialog): ditto * prop.c (properties): ditto. svn path=/trunk/; revision=522 --- calendar/prop.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'calendar/prop.c') diff --git a/calendar/prop.c b/calendar/prop.c index 9f2fdfbdc4..4ae7359f06 100644 --- a/calendar/prop.c +++ b/calendar/prop.c @@ -496,14 +496,15 @@ create_colors_page (void) /* Creates and displays the preferences dialog for the whole application */ void -properties (void) +properties (GtkWidget *toplevel) { if (prop_win) return; prop_win = gnome_property_box_new (); gtk_window_set_title (GTK_WINDOW (prop_win), _("Preferences")); - + gnome_dialog_set_parent (GNOME_DIALOG (prop_win), GTK_WINDOW (toplevel)); + create_time_display_page (); create_colors_page (); -- cgit