aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-meeting-store.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-06-05 04:53:10 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-06-09 01:14:48 +0800
commitf014ab82c81078d60cb1df8c986305c2cc9948c2 (patch)
treec3bde4e5da923c9ee082fcb994b10c2ce2f61dc2 /calendar/gui/e-meeting-store.c
parent7428fc93d58921bab9968a999172b843af2a2244 (diff)
downloadgsoc2013-evolution-f014ab82c81078d60cb1df8c986305c2cc9948c2.tar
gsoc2013-evolution-f014ab82c81078d60cb1df8c986305c2cc9948c2.tar.gz
gsoc2013-evolution-f014ab82c81078d60cb1df8c986305c2cc9948c2.tar.bz2
gsoc2013-evolution-f014ab82c81078d60cb1df8c986305c2cc9948c2.tar.lz
gsoc2013-evolution-f014ab82c81078d60cb1df8c986305c2cc9948c2.tar.xz
gsoc2013-evolution-f014ab82c81078d60cb1df8c986305c2cc9948c2.tar.zst
gsoc2013-evolution-f014ab82c81078d60cb1df8c986305c2cc9948c2.zip
Coding style and whitespace cleanups.
Diffstat (limited to 'calendar/gui/e-meeting-store.c')
-rw-r--r--calendar/gui/e-meeting-store.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/calendar/gui/e-meeting-store.c b/calendar/gui/e-meeting-store.c
index 1ac83c8e0e..e18c259f65 100644
--- a/calendar/gui/e-meeting-store.c
+++ b/calendar/gui/e-meeting-store.c
@@ -1073,11 +1073,17 @@ e_meeting_store_remove_all_attendees (EMeetingStore *store)
{
gint i, j, k;
- for (i = 0, j = e_meeting_store_count_actual_attendees (store), k = 0; i < j; i++) {
- /* Always try to remove the attendee at index 0 since it is the only one that will
- * continue to exist until all attendees are removed. */
- EMeetingAttendee *attendee = g_ptr_array_index (store->priv->attendees, k);
- GtkTreePath *path = gtk_tree_path_new ();
+ for (i = 0, j = e_meeting_store_count_actual_attendees (store), k = 0;
+ i < j; i++) {
+ /* Always try to remove the attendee at index 0 since
+ * it is the only one that will continue to exist until
+ * all attendees are removed. */
+ EMeetingAttendee *attendee;
+ GtkTreePath *path;
+
+ attendee = g_ptr_array_index (store->priv->attendees, k);
+
+ path = gtk_tree_path_new ();
gtk_tree_path_append_index (path, k);
gtk_tree_model_row_deleted (GTK_TREE_MODEL (store), path);
gtk_tree_path_free (path);