aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/comp-editor-factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/comp-editor-factory.c')
-rw-r--r--calendar/gui/comp-editor-factory.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/calendar/gui/comp-editor-factory.c b/calendar/gui/comp-editor-factory.c
index dd508987d4..a7f6a3b493 100644
--- a/calendar/gui/comp-editor-factory.c
+++ b/calendar/gui/comp-editor-factory.c
@@ -71,7 +71,7 @@ typedef struct {
/* Client of the calendar */
ECal *client;
-
+
/* Count editors using this client */
int editor_count;
@@ -245,16 +245,16 @@ edit_existing (OpenClient *oc, const char *uid)
return;
}
-
+
comp = e_cal_component_new ();
if (!e_cal_component_set_icalcomponent (comp, icalcomp)) {
g_object_unref (comp);
icalcomponent_free (icalcomp);
return;
}
-
+
/* Create the appropriate type of editor */
-
+
vtype = e_cal_component_get_vtype (comp);
if (itip_organizer_is_user (comp, oc->client))
flags |= COMP_EDITOR_USER_ORG;
@@ -264,7 +264,7 @@ edit_existing (OpenClient *oc, const char *uid)
case E_CAL_COMPONENT_EVENT:
if (e_cal_component_has_attendees (comp))
flags |= COMP_EDITOR_MEETING;
-
+
editor = COMP_EDITOR (event_editor_new (oc->client, flags));
break;
@@ -292,7 +292,7 @@ static ECalComponent *
get_default_task (ECal *client)
{
ECalComponent *comp;
-
+
comp = cal_comp_task_new_with_defaults (client);
return comp;
@@ -304,7 +304,7 @@ edit_new (OpenClient *oc, const GNOME_Evolution_Calendar_CompEditorFactory_CompE
{
ECalComponent *comp;
CompEditor *editor;
-
+
switch (type) {
case GNOME_Evolution_Calendar_CompEditorFactory_EDITOR_MODE_EVENT:
editor = COMP_EDITOR (event_editor_new (oc->client, FALSE));
@@ -540,7 +540,7 @@ impl_editExisting (PortableServer_Servant servant,
OpenClient *oc;
CompEditor *editor;
ECalSourceType source_type;
-
+
factory = COMP_EDITOR_FACTORY (bonobo_object_from_servant (servant));
switch (corba_type) {
@@ -550,7 +550,7 @@ impl_editExisting (PortableServer_Servant servant,
default:
source_type = E_CAL_SOURCE_TYPE_EVENT;
}
-
+
oc = lookup_open_client (factory, source_type, str_uri, ev);
if (!oc)
return;
@@ -594,7 +594,7 @@ impl_editNew (PortableServer_Servant servant,
CompEditorFactory *factory;
OpenClient *oc;
ECalSourceType source_type;
-
+
factory = COMP_EDITOR_FACTORY (bonobo_object_from_servant (servant));
switch (corba_type) {
@@ -619,9 +619,9 @@ impl_editNew (PortableServer_Servant servant,
/**
* comp_editor_factory_new:
- *
+ *
* Creates a new calendar component editor factory.
- *
+ *
* Return value: A newly-created component editor factory.
**/
CompEditorFactory *