aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/comp-editor-factory.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-11-15 06:04:21 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-11-15 06:04:21 +0800
commit9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91 (patch)
tree2e1e96f33404781354c422a7e9beaf458ebeb655 /calendar/gui/comp-editor-factory.c
parent7e8f8bb9e5167b0219b48ab3e8062080d3740b0a (diff)
downloadgsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.gz
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.bz2
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.lz
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.xz
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.zst
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.zip
** Remove trailing whitespace from source code.
2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
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 *