summaryrefslogtreecommitdiff
path: root/src/bin/eldbus/source_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/eldbus/source_client.c')
-rw-r--r--src/bin/eldbus/source_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/eldbus/source_client.c b/src/bin/eldbus/source_client.c
index 0586d0afa1..f86c62c86c 100644
--- a/src/bin/eldbus/source_client.c
+++ b/src/bin/eldbus/source_client.c
@@ -313,7 +313,7 @@ source_client_signal_generate(const DBus_Signal *sig, Eina_Strbuf *c_code, Eina_
313 Eina_Strbuf *string_free = eina_strbuf_new(); 313 Eina_Strbuf *string_free = eina_strbuf_new();
314 314
315 eina_strbuf_append_printf(c_init_function, " eldbus_proxy_signal_handler_add(proxy, \"%s\", %s, proxy);\n", sig->name, sig->cb_name); 315 eina_strbuf_append_printf(c_init_function, " eldbus_proxy_signal_handler_add(proxy, \"%s\", %s, proxy);\n", sig->name, sig->cb_name);
316 eina_strbuf_append_printf(c_header, "int %s;\n", sig->signal_event); 316 eina_strbuf_append_printf(c_header, "int %s = 0;\n", sig->signal_event);
317 eina_strbuf_append_printf(h, "extern int %s;\n", sig->signal_event); 317 eina_strbuf_append_printf(h, "extern int %s;\n", sig->signal_event);
318 eina_strbuf_append_printf(c_init_function, " if (!%s)\n", sig->signal_event); 318 eina_strbuf_append_printf(c_init_function, " if (!%s)\n", sig->signal_event);
319 eina_strbuf_append_printf(c_init_function, " %s = ecore_event_type_new();\n", sig->signal_event); 319 eina_strbuf_append_printf(c_init_function, " %s = ecore_event_type_new();\n", sig->signal_event);