From f98037abb5e435031aea67a11fe86d335cc63b59 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Thu, 3 Jan 2008 13:23:06 +0000 Subject: Refix the last patch 2008-01-03 Srinivasa Ragavan * gui/memos-component.c: (create_new_memo): Refix the last patch svn path=/trunk/; revision=34755 --- calendar/ChangeLog | 4 ++++ calendar/gui/memos-component.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 644088035d..245c3aa1c6 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,7 @@ +2008-01-03 Srinivasa Ragavan + + * gui/memos-component.c: (create_new_memo): Refix the last patch + 2008-01-03 Srinivasa Ragavan ** Fix for bug #506814 diff --git a/calendar/gui/memos-component.c b/calendar/gui/memos-component.c index 3c57846972..2aa4d7313e 100644 --- a/calendar/gui/memos-component.c +++ b/calendar/gui/memos-component.c @@ -1013,7 +1013,7 @@ create_new_memo (MemosComponent *memo_component, gboolean is_assigned, MemosComp editor = memo_editor_new (ecal, flags); comp = cal_comp_memo_new_with_defaults (ecal); - if (component_view->memos) + if (component_view) g_signal_connect (editor, "object_created", G_CALLBACK (object_created_cb), e_memos_get_calendar_table (component_view->memos)); comp_editor_edit_comp (COMP_EDITOR (editor), comp); -- cgit v1.2.3