aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/task-details-page.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/dialogs/task-details-page.c')
-rw-r--r--calendar/gui/dialogs/task-details-page.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/task-details-page.c b/calendar/gui/dialogs/task-details-page.c
index 208dcb4270..9dfea0dd05 100644
--- a/calendar/gui/dialogs/task-details-page.c
+++ b/calendar/gui/dialogs/task-details-page.c
@@ -460,7 +460,7 @@ get_widgets (TaskDetailsPage *tdpage)
}
gtk_widget_ref (priv->main);
- gtk_widget_unparent (priv->main);
+ gtk_container_remove (GTK_CONTAINER (priv->main->parent), priv->main);
priv->status = GW ("status");
priv->priority = GW ("priority");