aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar/e-cal-shell-view-taskpad.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-09-15 20:54:31 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-09-21 21:50:41 +0800
commit1f8eabe94fa7ac101606bb441d267db1fbac09c6 (patch)
treeb08a285a44d1a8f2ef23d4e28390da3e6909ae5a /modules/calendar/e-cal-shell-view-taskpad.c
parent006efb8e1e25b064911c739ec5c1ddee06a9531f (diff)
downloadgsoc2013-evolution-1f8eabe94fa7ac101606bb441d267db1fbac09c6.tar
gsoc2013-evolution-1f8eabe94fa7ac101606bb441d267db1fbac09c6.tar.gz
gsoc2013-evolution-1f8eabe94fa7ac101606bb441d267db1fbac09c6.tar.bz2
gsoc2013-evolution-1f8eabe94fa7ac101606bb441d267db1fbac09c6.tar.lz
gsoc2013-evolution-1f8eabe94fa7ac101606bb441d267db1fbac09c6.tar.xz
gsoc2013-evolution-1f8eabe94fa7ac101606bb441d267db1fbac09c6.tar.zst
gsoc2013-evolution-1f8eabe94fa7ac101606bb441d267db1fbac09c6.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.c3
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));