diff options
| author | Matthew Barnes <mbarnes@redhat.com> | 2009-07-18 13:10:54 -0400 |
|---|---|---|
| committer | Matthew Barnes <mbarnes@redhat.com> | 2009-07-18 13:15:03 -0400 |
| commit | 36956ae1d2f0fec972c48d1f80c7e25fe2117d02 (patch) | |
| tree | 49b3c9d05b8e1a2045bf84915277bed5c72b04fd /libedataserver | |
| parent | e98de762c768653bc8956cedf1c98393ae09be29 (diff) | |
| download | evolution-data-server-36956ae1d2f0fec972c48d1f80c7e25fe2117d02.tar.gz | |
More whitespace cleanup.
Diffstat (limited to 'libedataserver')
| -rw-r--r-- | libedataserver/e-account-list.c | 2 | ||||
| -rw-r--r-- | libedataserver/e-data-server-util.c | 2 | ||||
| -rw-r--r-- | libedataserver/e-msgport.c | 6 | ||||
| -rw-r--r-- | libedataserver/e-sexp.c | 14 |
4 files changed, 12 insertions, 12 deletions
diff --git a/libedataserver/e-account-list.c b/libedataserver/e-account-list.c index 5e85f9753..6e23bc1db 100644 --- a/libedataserver/e-account-list.c +++ b/libedataserver/e-account-list.c @@ -480,7 +480,7 @@ e_account_list_find(EAccountList *accounts, e_account_find_t type, const gchar * account = (const EAccount *)e_iterator_get (it); val = NULL; - switch(type) { + switch (type) { case E_ACCOUNT_FIND_NAME: found = strcmp(account->name, key) == 0; break; diff --git a/libedataserver/e-data-server-util.c b/libedataserver/e-data-server-util.c index b491d8000..651b5a303 100644 --- a/libedataserver/e-data-server-util.c +++ b/libedataserver/e-data-server-util.c @@ -497,7 +497,7 @@ e_filename_make_safe (gchar *string) g_return_if_fail (string != NULL); p = string; - while(p && *p) { + while (p && *p) { c = g_utf8_get_char (p); ts = p; p = g_utf8_next_char (p); diff --git a/libedataserver/e-msgport.c b/libedataserver/e-msgport.c index 4ca58343e..7a2c6eec4 100644 --- a/libedataserver/e-msgport.c +++ b/libedataserver/e-msgport.c @@ -837,7 +837,7 @@ void e_thread_destroy(EThread *e) pthread_mutex_lock(&e->mutex); - switch(e->type) { + switch (e->type) { case E_THREAD_QUEUE: case E_THREAD_DROP: /* if we have a thread, 'kill' it */ @@ -1100,7 +1100,7 @@ void e_thread_put(EThread *e, EMsg *msg) msg->reply_port = e->reply_port; - switch(e->type) { + switch (e->type) { case E_THREAD_QUEUE: /* if the queue is full, lose this new addition */ if (g_async_queue_length(e->server_port->queue) < e->queue_limit) { @@ -1293,7 +1293,7 @@ gint e_mutex_cond_wait(gpointer vcond, EMutex *m) gint ret; pthread_cond_t *cond = vcond; - switch(m->type) { + switch (m->type) { case E_MUTEX_SIMPLE: return pthread_cond_wait(cond, &m->mutex); case E_MUTEX_REC: diff --git a/libedataserver/e-sexp.c b/libedataserver/e-sexp.c index 9253d1391..5a5e53f97 100644 --- a/libedataserver/e-sexp.c +++ b/libedataserver/e-sexp.c @@ -182,7 +182,7 @@ e_sexp_result_free(struct _ESExp *f, struct _ESExpResult *t) if (t == NULL) return; - switch(t->type) { + switch (t->type) { case ESEXP_RES_ARRAY_PTR: g_ptr_array_free(t->value.ptrarray, TRUE); break; @@ -474,7 +474,7 @@ term_eval_plus(struct _ESExp *f, gint argc, struct _ESExpResult **argv, gpointer if (argc>0) { type = argv[0]->type; - switch(type) { + switch (type) { case ESEXP_RES_INT: { gint total = argv[0]->value.number; for (i=1;i<argc && argv[i]->type == ESEXP_RES_INT;i++) { @@ -535,7 +535,7 @@ term_eval_sub(struct _ESExp *f, gint argc, struct _ESExpResult **argv, gpointer if (argc>0) { type = argv[0]->type; - switch(type) { + switch (type) { case ESEXP_RES_INT: { gint total = argv[0]->value.number; for (i=1;i<argc && argv[i]->type == ESEXP_RES_INT;i++) { @@ -632,7 +632,7 @@ term_eval_caststring(struct _ESExp *f, gint argc, struct _ESExpResult **argv, gp /* implements 'if' function */ static ESExpResult * -term_eval_if(struct _ESExp *f, gint argc, struct _ESExpTerm **argv, gpointer data) +term_eval_if (struct _ESExp *f, gint argc, struct _ESExpTerm **argv, gpointer data) { struct _ESExpResult *r; gint doit; @@ -913,7 +913,7 @@ parse_value(ESExp *f) p(printf("parsing value\n")); token = g_scanner_get_next_token(gs); - switch(token) { + switch (token) { case G_TOKEN_EOF: break; case G_TOKEN_LEFT_PAREN: @@ -1008,7 +1008,7 @@ parse_list(ESExp *f, gint gotbrace) token = g_scanner_get_next_token(gs); if (token =='(') { token = g_scanner_get_next_token(gs); - switch(token) { + switch (token) { case G_TOKEN_SYMBOL: { struct _ESExpSymbol *s; @@ -1124,7 +1124,7 @@ e_sexp_init (ESExp *s) s->result_chunks = e_memchunk_new(16, sizeof(struct _ESExpResult)); /* load in builtin symbols? */ - for(i=0;i<sizeof(symbols)/sizeof(symbols[0]);i++) { + for (i=0;i<sizeof(symbols)/sizeof(symbols[0]);i++) { if (symbols[i].type == 1) { e_sexp_add_ifunction(s, 0, symbols[i].name, (ESExpIFunc *)symbols[i].func, (gpointer)&symbols[i]); } else { |
