aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/select-one-source
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/select-one-source')
-rw-r--r--plugins/select-one-source/mark-calendar-offline.c6
-rw-r--r--plugins/select-one-source/select-one-source.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/plugins/select-one-source/mark-calendar-offline.c b/plugins/select-one-source/mark-calendar-offline.c
index dea9baf28a..fee8595883 100644
--- a/plugins/select-one-source/mark-calendar-offline.c
+++ b/plugins/select-one-source/mark-calendar-offline.c
@@ -20,7 +20,7 @@
*/
/* This is prototype code only, this may, or may not, use undocumented
- * unstable or private internal function calls.
+ * unstable or private internal function calls.
* This code has been derived from the source of the sample eplugin
* select_one_source.
*/
@@ -38,7 +38,7 @@ void
org_gnome_mark_calendar_no_offline (EPlugin *ep, ECalPopupTargetSource *target)
{
ESource *source;
-
+
source = e_source_selector_peek_primary_selection (target->selector);
e_source_set_property (source, "offline", "0");
}
@@ -47,7 +47,7 @@ void
org_gnome_mark_calendar_offline (EPlugin *ep, ECalPopupTargetSource *target)
{
ESource *source;
-
+
source = e_source_selector_peek_primary_selection (target->selector);
e_source_set_property (source, "offline", "1");
}
diff --git a/plugins/select-one-source/select-one-source.c b/plugins/select-one-source/select-one-source.c
index 12aa5bda95..e571c77935 100644
--- a/plugins/select-one-source/select-one-source.c
+++ b/plugins/select-one-source/select-one-source.c
@@ -35,10 +35,10 @@ org_gnome_select_one_source (EPlugin *ep, ECalPopupTargetSource *target)
{
GSList *selection, *l;
ESource *primary_source;
-
+
selection = e_source_selector_get_selection (target->selector);
primary_source = e_source_selector_peek_primary_selection (target->selector);
-
+
for (l = selection; l; l = l->next) {
ESource *source = l->data;
@@ -47,6 +47,6 @@ org_gnome_select_one_source (EPlugin *ep, ECalPopupTargetSource *target)
}
e_source_selector_select_source (target->selector, primary_source);
-
+
e_source_selector_free_selection (selection);
}