From: sanghyeok.oh Date: Fri, 16 Aug 2019 01:43:27 +0000 (+0900) Subject: libgdbus: change api name from broadcasting to emit X-Git-Tag: accepted/tizen/unified/20190816.112239^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F49%2F212149%2F1;p=platform%2Fcore%2Fsystem%2Flibsyscommon.git libgdbus: change api name from broadcasting to emit "Broadcast" is ambiguous due to the ability to send both broadcast and unicast signals. change 'dbus_handle_broadcast_dbus_signal' to 'dbus_handle_emit_dbus_signal' Change-Id: I5f6f25f2dc74535f7dfc091106600d722f664b50 Signed-off-by: sanghyeok.oh --- diff --git a/src/libgdbus/dbus-system.c b/src/libgdbus/dbus-system.c index 3e325e1..0653c4f 100644 --- a/src/libgdbus/dbus-system.c +++ b/src/libgdbus/dbus-system.c @@ -1813,7 +1813,7 @@ static GVariant* _append_variant(const char *signature, const char *param[]) return ret; } -int dbus_handle_broadcast_dbus_signal(const char *dest, +int dbus_handle_emit_dbus_signal(const char *dest, const char *path, const char *iface, const char *name, diff --git a/src/libgdbus/dbus-system.h b/src/libgdbus/dbus-system.h index 3478605..e46bda6 100644 --- a/src/libgdbus/dbus-system.h +++ b/src/libgdbus/dbus-system.h @@ -501,7 +501,7 @@ int dbus_handle_signal_ctx_add_timeout(sig_ctx *ctx, int timeout); GVariant *dbus_handle_make_simple_array(const char *sig, int *param); -int dbus_handle_broadcast_dbus_signal(const char *dest, const char *path, const char *iface, const char *name, GVariant *param); +int dbus_handle_emit_dbus_signal(const char *dest, const char *path, const char *iface, const char *name, GVariant *param); typedef struct {