aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/memos-component.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/memos-component.c')
-rw-r--r--calendar/gui/memos-component.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/calendar/gui/memos-component.c b/calendar/gui/memos-component.c
index 04178500cb..24ca448907 100644
--- a/calendar/gui/memos-component.c
+++ b/calendar/gui/memos-component.c
@@ -903,12 +903,9 @@ static gboolean
create_new_memo (MemosComponent *memo_component, gboolean is_assigned, MemosComponentView *component_view)
{
ECal *ecal;
- MemosComponentPrivate *priv;
ECalComponent *comp;
MemoEditor *editor;
- priv = memo_component->priv;
-
ecal = setup_create_ecal (memo_component, component_view);
if (!ecal)
return FALSE;
@@ -1179,9 +1176,6 @@ impl_requestCreateItem (PortableServer_Servant servant,
CORBA_Environment *ev)
{
MemosComponent *memos_component = MEMOS_COMPONENT (bonobo_object_from_servant (servant));
- MemosComponentPrivate *priv;
-
- priv = memos_component->priv;
if (strcmp (item_type_name, CREATE_MEMO_ID) == 0) {
if (!create_new_memo (memos_component, FALSE, NULL))