aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/e-tasks.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/gui/e-tasks.c b/calendar/gui/e-tasks.c
index 64a6afd3cc..f098a2011b 100644
--- a/calendar/gui/e-tasks.c
+++ b/calendar/gui/e-tasks.c
@@ -426,8 +426,9 @@ e_tasks_new_task (ETasks *tasks)
cal_component_set_new_vtype (comp, CAL_COMPONENT_TODO);
task_editor_set_todo_object (tedit, comp);
-
gtk_object_unref (GTK_OBJECT (comp));
+
+ task_editor_focus (tedit);
}