summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiscomfitor <michael.blumenkrantz@gmail.com>2013-12-14 19:54:35 -0500
committerdiscomfitor <michael.blumenkrantz@gmail.com>2013-12-14 19:54:35 -0500
commit1fa7d3070b84759f6075a3b0732d2231afd82a51 (patch)
tree765356d784cdfd71d3a8555a48ead1ec9552a08d
parent0640b7f34109d53b5da9a9f23ec3e6c9c475d47a (diff)
bugfix: make eldbus generated code not crash on every single generated event
this is pretty depressing to find after it's been in git for over a year
-rw-r--r--src/bin/eldbus/source_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/eldbus/source_client.c b/src/bin/eldbus/source_client.c
index f86c62c86c..b4961bc08a 100644
--- a/src/bin/eldbus/source_client.c
+++ b/src/bin/eldbus/source_client.c
@@ -345,8 +345,8 @@ jump_simple_stuff:
345 eina_strbuf_append_printf(h, "} %s;\n", sig->struct_name); 345 eina_strbuf_append_printf(h, "} %s;\n", sig->struct_name);
346 346
347 //free function 347 //free function
348 eina_strbuf_append_printf(c_code, "\nstatic void\n%s(void *user_data, void *func_data)\n{\n", sig->free_function); 348 eina_strbuf_append_printf(c_code, "\nstatic void\n%s(void *user_data EINA_UNUSED, void *func_data)\n{\n", sig->free_function);
349 eina_strbuf_append_printf(c_code, " %s *s_data = user_data;\n", sig->struct_name); 349 eina_strbuf_append_printf(c_code, " %s *s_data = func_data;\n", sig->struct_name);
350 if (sig->complex) 350 if (sig->complex)
351 eina_strbuf_append(c_code, " eina_value_free(s_data->proxy);\n"); 351 eina_strbuf_append(c_code, " eina_value_free(s_data->proxy);\n");
352 else 352 else