summaryrefslogtreecommitdiff
path: root/legacy/edbus/src/lib/edbus_service.c
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2012-12-18 21:38:49 +0000
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2012-12-18 21:38:49 +0000
commit6038eeaf478c61a61ba38e5f5c34b8cb00a75492 (patch)
tree335373fe3f9d10741d231c3996777286f0a019ef /legacy/edbus/src/lib/edbus_service.c
parent7b2ff200f8305fe15e23ec61967ca18148e01398 (diff)
edbus: unexport edbus_message_signal_new()
Signals need to be sent with edbus_service_signal_emit() -- for basic messages -- or edbus_service_signal_new() + edbus_service_signal_send -- for complex messages. Otherwise it's possible to send signals that are not in the service introspection or that have different signatures by mistake/typo. SVN revision: 81311
Diffstat (limited to '')
-rw-r--r--legacy/edbus/src/lib/edbus_service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/edbus/src/lib/edbus_service.c b/legacy/edbus/src/lib/edbus_service.c
index 13eaad2024..a526f1e21d 100644
--- a/legacy/edbus/src/lib/edbus_service.c
+++ b/legacy/edbus/src/lib/edbus_service.c
@@ -1256,7 +1256,7 @@ edbus_service_signal_send(const EDBus_Service_Interface *iface, EDBus_Message *s
1256 EDBUS_SERVICE_INTERFACE_CHECK_RETVAL(iface, EINA_FALSE); 1256 EDBUS_SERVICE_INTERFACE_CHECK_RETVAL(iface, EINA_FALSE);
1257 EINA_SAFETY_ON_NULL_RETURN_VAL(signal_msg, EINA_FALSE); 1257 EINA_SAFETY_ON_NULL_RETURN_VAL(signal_msg, EINA_FALSE);
1258 _edbus_connection_send(iface->obj->conn, signal_msg, NULL, NULL, -1); 1258 _edbus_connection_send(iface->obj->conn, signal_msg, NULL, NULL, -1);
1259 edbus_message_unref(sig); 1259 edbus_message_unref(signal_msg);
1260 return EINA_TRUE; 1260 return EINA_TRUE;
1261} 1261}
1262 1262