summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2012-10-19 18:24:30 +0000
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2012-10-19 18:24:30 +0000
commit6d2bd31902abcb74b491a6b5a862e4a6d1f0bc26 (patch)
treeaa8fd0893e67eb48303cc0af83a63e40315ea774 /legacy
parent3b8464fa83a7ca7fb02fe0e2afa2a4a355a56eb9 (diff)
edbus: Remove space after for-like macros
SVN revision: 78262
Diffstat (limited to 'legacy')
-rw-r--r--legacy/edbus/src/lib/edbus_core.c22
-rw-r--r--legacy/edbus/src/lib/edbus_object.c10
-rw-r--r--legacy/edbus/src/lib/edbus_proxy.c8
3 files changed, 20 insertions, 20 deletions
diff --git a/legacy/edbus/src/lib/edbus_core.c b/legacy/edbus/src/lib/edbus_core.c
index 66f5c47283..9e5db08199 100644
--- a/legacy/edbus/src/lib/edbus_core.c
+++ b/legacy/edbus/src/lib/edbus_core.c
@@ -176,7 +176,7 @@ print_live_connection(EDBus_Connection *conn)
176 else 176 else
177 { 177 {
178 EDBus_Pending *p; 178 EDBus_Pending *p;
179 EINA_INLIST_FOREACH (conn->pendings, p) 179 EINA_INLIST_FOREACH(conn->pendings, p)
180 ERR("conn=%p alive pending call=%p dest=%s path=%s %s.%s()", 180 ERR("conn=%p alive pending call=%p dest=%s path=%s %s.%s()",
181 conn, p, 181 conn, p,
182 edbus_pending_destination_get(p), 182 edbus_pending_destination_get(p),
@@ -272,7 +272,7 @@ edbus_cbs_free_del(Eina_Inlist *lst, EDBus_Free_Cb cb, const void *data)
272{ 272{
273 EDBus_Context_Free_Cb *ctx; 273 EDBus_Context_Free_Cb *ctx;
274 274
275 EINA_INLIST_FOREACH (lst, ctx) 275 EINA_INLIST_FOREACH(lst, ctx)
276 { 276 {
277 if (ctx->cb != cb) continue; 277 if (ctx->cb != cb) continue;
278 if ((data) && (ctx->data != data)) continue; 278 if ((data) && (ctx->data != data)) continue;
@@ -300,7 +300,7 @@ edbus_data_find(Eina_Inlist **p_lst, const char *key)
300 unsigned int keylen = strlen(key); 300 unsigned int keylen = strlen(key);
301 EDBus_Data *d; 301 EDBus_Data *d;
302 302
303 EINA_INLIST_FOREACH (*p_lst, d) 303 EINA_INLIST_FOREACH(*p_lst, d)
304 { 304 {
305 if ((keylen == d->keylen) && (memcmp(key, d->key, keylen) == 0)) 305 if ((keylen == d->keylen) && (memcmp(key, d->key, keylen) == 0))
306 { 306 {
@@ -845,7 +845,7 @@ cb_signal_dispatcher(EDBus_Connection *conn, DBusMessage *msg)
845 &edbus_msg->iterator->dbus_iterator); 845 &edbus_msg->iterator->dbus_iterator);
846 conn->running_signal = EINA_TRUE; 846 conn->running_signal = EINA_TRUE;
847 847
848 EINA_INLIST_FOREACH (conn->signal_handlers, sh) 848 EINA_INLIST_FOREACH(conn->signal_handlers, sh)
849 { 849 {
850 if (sh->sender) 850 if (sh->sender)
851 { 851 {
@@ -1061,7 +1061,7 @@ _edbus_connection_unref(EDBus_Connection *conn)
1061 { 1061 {
1062 CRITICAL("Connection %p released with live pending calls!", 1062 CRITICAL("Connection %p released with live pending calls!",
1063 conn); 1063 conn);
1064 EINA_INLIST_FOREACH (conn->pendings, p) 1064 EINA_INLIST_FOREACH(conn->pendings, p)
1065 ERR("conn=%p alive pending call=%p dest=%s path=%s %s.%s()", 1065 ERR("conn=%p alive pending call=%p dest=%s path=%s %s.%s()",
1066 conn, p, 1066 conn, p,
1067 edbus_pending_destination_get(p), 1067 edbus_pending_destination_get(p),
@@ -1091,10 +1091,10 @@ _edbus_connection_unref(EDBus_Connection *conn)
1091 dbus_connection_unref(conn->dbus_conn); 1091 dbus_connection_unref(conn->dbus_conn);
1092 conn->dbus_conn = NULL; 1092 conn->dbus_conn = NULL;
1093 1093
1094 EINA_INLIST_FOREACH_SAFE (conn->fd_handlers, list, fd_handler) 1094 EINA_INLIST_FOREACH_SAFE(conn->fd_handlers, list, fd_handler)
1095 edbus_fd_handler_del(fd_handler); 1095 edbus_fd_handler_del(fd_handler);
1096 1096
1097 EINA_INLIST_FOREACH_SAFE (conn->timeouts, list, timer) 1097 EINA_INLIST_FOREACH_SAFE(conn->timeouts, list, timer)
1098 edbus_timeout_data_free(timer->handler); 1098 edbus_timeout_data_free(timer->handler);
1099 1099
1100 edbus_data_del_all(&conn->data); 1100 edbus_data_del_all(&conn->data);
@@ -1245,7 +1245,7 @@ edbus_name_owner_changed_callback_del(EDBus_Connection *conn, const char *bus, E
1245 cn = eina_hash_find(conn->names, bus); 1245 cn = eina_hash_find(conn->names, bus);
1246 EINA_SAFETY_ON_NULL_RETURN(cn); 1246 EINA_SAFETY_ON_NULL_RETURN(cn);
1247 1247
1248 EINA_INLIST_FOREACH (cn->event_handlers.list, iter) 1248 EINA_INLIST_FOREACH(cn->event_handlers.list, iter)
1249 { 1249 {
1250 if (cb != iter->cb) continue; 1250 if (cb != iter->cb) continue;
1251 if ((cb_data) && (cb_data != iter->cb_data)) continue; 1251 if ((cb_data) && (cb_data != iter->cb_data)) continue;
@@ -1316,7 +1316,7 @@ edbus_connection_event_callback_del(EDBus_Connection *conn, EDBus_Connection_Eve
1316 1316
1317 ce = conn->event_handlers + type; 1317 ce = conn->event_handlers + type;
1318 1318
1319 EINA_INLIST_FOREACH (ce->list, iter) 1319 EINA_INLIST_FOREACH(ce->list, iter)
1320 { 1320 {
1321 if (cb != iter->cb) continue; 1321 if (cb != iter->cb) continue;
1322 if ((cb_data) && (cb_data != iter->cb_data)) continue; 1322 if ((cb_data) && (cb_data != iter->cb_data)) continue;
@@ -1347,7 +1347,7 @@ _edbus_connection_event_callback_call(EDBus_Connection *conn, EDBus_Connection_E
1347 ce = conn->event_handlers + type; 1347 ce = conn->event_handlers + type;
1348 1348
1349 ce->walking++; 1349 ce->walking++;
1350 EINA_INLIST_FOREACH (ce->list, iter) 1350 EINA_INLIST_FOREACH(ce->list, iter)
1351 { 1351 {
1352 if (iter->deleted) continue; 1352 if (iter->deleted) continue;
1353 iter->cb((void *)iter->cb_data, conn, (void *)event_info); 1353 iter->cb((void *)iter->cb_data, conn, (void *)event_info);
@@ -1355,7 +1355,7 @@ _edbus_connection_event_callback_call(EDBus_Connection *conn, EDBus_Connection_E
1355 ce->walking--; 1355 ce->walking--;
1356 if (ce->walking > 0) return; 1356 if (ce->walking > 0) return;
1357 1357
1358 EINA_LIST_FREE (ce->to_delete, iter) 1358 EINA_LIST_FREE(ce->to_delete, iter)
1359 _edbus_connection_context_event_cb_del(ce, iter); 1359 _edbus_connection_context_event_cb_del(ce, iter);
1360} 1360}
1361 1361
diff --git a/legacy/edbus/src/lib/edbus_object.c b/legacy/edbus/src/lib/edbus_object.c
index fb0fe66dff..6bb1510a13 100644
--- a/legacy/edbus/src/lib/edbus_object.c
+++ b/legacy/edbus/src/lib/edbus_object.c
@@ -129,14 +129,14 @@ _edbus_object_free(EDBus_Object *obj)
129 { 129 {
130 Eina_Iterator *iterator = eina_hash_iterator_data_new(obj->proxies); 130 Eina_Iterator *iterator = eina_hash_iterator_data_new(obj->proxies);
131 EDBus_Proxy *proxy; 131 EDBus_Proxy *proxy;
132 EINA_ITERATOR_FOREACH (iterator, proxy) 132 EINA_ITERATOR_FOREACH(iterator, proxy)
133 ERR("obj=%p alive proxy=%p %s", obj, proxy, 133 ERR("obj=%p alive proxy=%p %s", obj, proxy,
134 edbus_proxy_interface_get(proxy)); 134 edbus_proxy_interface_get(proxy));
135 eina_iterator_free(iterator); 135 eina_iterator_free(iterator);
136 eina_hash_free(obj->proxies); 136 eina_hash_free(obj->proxies);
137 } 137 }
138 138
139 EINA_LIST_FREE (obj->signal_handlers, h) 139 EINA_LIST_FREE(obj->signal_handlers, h)
140 { 140 {
141 if (h->dangling) 141 if (h->dangling)
142 edbus_signal_handler_cb_free_del(h, _on_signal_handler_free, obj); 142 edbus_signal_handler_cb_free_del(h, _on_signal_handler_free, obj);
@@ -302,7 +302,7 @@ edbus_object_event_callback_del(EDBus_Object *obj, EDBus_Object_Event_Type type,
302 302
303 ce = obj->event_handlers + type; 303 ce = obj->event_handlers + type;
304 304
305 EINA_INLIST_FOREACH (ce->list, iter) 305 EINA_INLIST_FOREACH(ce->list, iter)
306 { 306 {
307 if (cb != iter->cb) continue; 307 if (cb != iter->cb) continue;
308 if ((cb_data) && (cb_data != iter->cb_data)) continue; 308 if ((cb_data) && (cb_data != iter->cb_data)) continue;
@@ -333,7 +333,7 @@ _edbus_object_event_callback_call(EDBus_Object *obj, EDBus_Object_Event_Type typ
333 ce = obj->event_handlers + type; 333 ce = obj->event_handlers + type;
334 334
335 ce->walking++; 335 ce->walking++;
336 EINA_INLIST_FOREACH (ce->list, iter) 336 EINA_INLIST_FOREACH(ce->list, iter)
337 { 337 {
338 if (iter->deleted) continue; 338 if (iter->deleted) continue;
339 iter->cb((void *)iter->cb_data, obj, (void *)event_info); 339 iter->cb((void *)iter->cb_data, obj, (void *)event_info);
@@ -341,7 +341,7 @@ _edbus_object_event_callback_call(EDBus_Object *obj, EDBus_Object_Event_Type typ
341 ce->walking--; 341 ce->walking--;
342 if (ce->walking > 0) return; 342 if (ce->walking > 0) return;
343 343
344 EINA_LIST_FREE (ce->to_delete, iter) 344 EINA_LIST_FREE(ce->to_delete, iter)
345 _edbus_object_context_event_cb_del(ce, iter); 345 _edbus_object_context_event_cb_del(ce, iter);
346} 346}
347 347
diff --git a/legacy/edbus/src/lib/edbus_proxy.c b/legacy/edbus/src/lib/edbus_proxy.c
index 0d33e8db41..40b3bcf444 100644
--- a/legacy/edbus/src/lib/edbus_proxy.c
+++ b/legacy/edbus/src/lib/edbus_proxy.c
@@ -148,7 +148,7 @@ _edbus_proxy_free(EDBus_Proxy *proxy)
148 unsigned int i; 148 unsigned int i;
149 EDBus_Signal_Handler *h; 149 EDBus_Signal_Handler *h;
150 150
151 EINA_LIST_FREE (proxy->handlers, h) 151 EINA_LIST_FREE(proxy->handlers, h)
152 { 152 {
153 if (h->dangling) 153 if (h->dangling)
154 edbus_signal_handler_cb_free_del(h, _on_signal_handler_free, proxy); 154 edbus_signal_handler_cb_free_del(h, _on_signal_handler_free, proxy);
@@ -306,7 +306,7 @@ edbus_proxy_event_callback_del(EDBus_Proxy *proxy, EDBus_Proxy_Event_Type type,
306 306
307 ce = proxy->event_handlers + type; 307 ce = proxy->event_handlers + type;
308 308
309 EINA_INLIST_FOREACH (ce->list, iter) 309 EINA_INLIST_FOREACH(ce->list, iter)
310 { 310 {
311 if (cb != iter->cb) continue; 311 if (cb != iter->cb) continue;
312 if ((cb_data) && (cb_data != iter->cb_data)) continue; 312 if ((cb_data) && (cb_data != iter->cb_data)) continue;
@@ -337,7 +337,7 @@ _edbus_proxy_event_callback_call(EDBus_Proxy *proxy, EDBus_Proxy_Event_Type type
337 ce = proxy->event_handlers + type; 337 ce = proxy->event_handlers + type;
338 338
339 ce->walking++; 339 ce->walking++;
340 EINA_INLIST_FOREACH (ce->list, iter) 340 EINA_INLIST_FOREACH(ce->list, iter)
341 { 341 {
342 if (iter->deleted) continue; 342 if (iter->deleted) continue;
343 iter->cb((void *)iter->cb_data, proxy, (void *)event_info); 343 iter->cb((void *)iter->cb_data, proxy, (void *)event_info);
@@ -345,7 +345,7 @@ _edbus_proxy_event_callback_call(EDBus_Proxy *proxy, EDBus_Proxy_Event_Type type
345 ce->walking--; 345 ce->walking--;
346 if (ce->walking > 0) return; 346 if (ce->walking > 0) return;
347 347
348 EINA_LIST_FREE (ce->to_delete, iter) 348 EINA_LIST_FREE(ce->to_delete, iter)
349 _edbus_proxy_context_event_cb_del(ce, iter); 349 _edbus_proxy_context_event_cb_del(ce, iter);
350} 350}
351 351