diff options
author | Milan Crha <mcrha@redhat.com> | 2011-09-15 20:54:31 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-09-15 20:54:31 +0800 |
commit | 6ea72f4fe7cd9ed44660589bf13eb153007cb62e (patch) | |
tree | 7ec8cfe7d4816ade43eb9a76542fa323b219bb1b /modules/calendar/e-cal-shell-view-taskpad.c | |
parent | 5817e1ffb9bbe8449cc1881e2887f1a615cbea69 (diff) | |
download | gsoc2013-evolution-6ea72f4fe7cd9ed44660589bf13eb153007cb62e.tar.gz gsoc2013-evolution-6ea72f4fe7cd9ed44660589bf13eb153007cb62e.tar.zst gsoc2013-evolution-6ea72f4fe7cd9ed44660589bf13eb153007cb62e.zip |
Bug #659125 - Reference counting issues in calendar
Diffstat (limited to 'modules/calendar/e-cal-shell-view-taskpad.c')
-rw-r--r-- | modules/calendar/e-cal-shell-view-taskpad.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/calendar/e-cal-shell-view-taskpad.c b/modules/calendar/e-cal-shell-view-taskpad.c index 48c81ac085..92263c75e3 100644 --- a/modules/calendar/e-cal-shell-view-taskpad.c +++ b/modules/calendar/e-cal-shell-view-taskpad.c @@ -160,7 +160,6 @@ action_calendar_taskpad_new_cb (GtkAction *action, gtk_window_present (GTK_WINDOW (editor)); g_object_unref (comp); - g_object_unref (client); } static void @@ -548,7 +547,7 @@ e_cal_shell_view_taskpad_open_task (ECalShellView *cal_shell_view, editor = task_editor_new (comp_data->client, shell, flags); comp_editor_edit_comp (editor, comp); - g_object_ref (comp); + g_object_unref (comp); if (flags & COMP_EDITOR_IS_ASSIGNED) task_editor_show_assignment (TASK_EDITOR (editor)); |