aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gncal-todo.c
diff options
context:
space:
mode:
authorSeth Alves <alves@src.gnome.org>2000-04-08 23:39:04 +0800
committerSeth Alves <alves@src.gnome.org>2000-04-08 23:39:04 +0800
commitbf8ac9cd55803fc7c71f1e5c476b678472c8524b (patch)
tree5d0a1a2d770b54423f4e6dde02db24ac3cbe8c26 /calendar/gui/gncal-todo.c
parenta16423ef8ad6ab23085e0b458c3f66aa7124fef4 (diff)
downloadgsoc2013-evolution-bf8ac9cd55803fc7c71f1e5c476b678472c8524b.tar
gsoc2013-evolution-bf8ac9cd55803fc7c71f1e5c476b678472c8524b.tar.gz
gsoc2013-evolution-bf8ac9cd55803fc7c71f1e5c476b678472c8524b.tar.bz2
gsoc2013-evolution-bf8ac9cd55803fc7c71f1e5c476b678472c8524b.tar.lz
gsoc2013-evolution-bf8ac9cd55803fc7c71f1e5c476b678472c8524b.tar.xz
gsoc2013-evolution-bf8ac9cd55803fc7c71f1e5c476b678472c8524b.tar.zst
gsoc2013-evolution-bf8ac9cd55803fc7c71f1e5c476b678472c8524b.zip
calendar is a frame instead of a window, now.
* gui/gncal-todo.c (simple_todo_editor): calendar is a frame instead of a window, now. * gui/gnome-cal.c (gnome_calendar_new): same * gui/goto.c (goto_dialog): same svn path=/trunk/; revision=2337
Diffstat (limited to 'calendar/gui/gncal-todo.c')
-rw-r--r--calendar/gui/gncal-todo.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/calendar/gui/gncal-todo.c b/calendar/gui/gncal-todo.c
index 8b249c3fb7..7c7752d127 100644
--- a/calendar/gui/gncal-todo.c
+++ b/calendar/gui/gncal-todo.c
@@ -139,10 +139,12 @@ simple_todo_editor (GncalTodo *todo, iCalObject *ico)
GNOME_STOCK_BUTTON_OK,
GNOME_STOCK_BUTTON_CANCEL,
NULL);
- gnome_dialog_set_parent (GNOME_DIALOG (dialog), GTK_WINDOW (todo->calendar));
+ gnome_dialog_set_parent (GNOME_DIALOG (dialog),
+ GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (todo->calendar))));
hbox = gtk_hbox_new (FALSE, 4);
gtk_container_border_width (GTK_CONTAINER (hbox), 4);
- gtk_box_pack_start (GTK_BOX (GNOME_DIALOG (dialog)->vbox), hbox, FALSE, FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (GNOME_DIALOG (dialog)->vbox),
+ hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox);