diff options
author | Yunmi Ha <yunmi.ha@samsung.com> | 2021-01-21 15:42:32 +0900 |
---|---|---|
committer | Hyotaek Shim <hyotaek.shim@samsung.com> | 2021-01-22 00:28:35 +0000 |
commit | d1d96ab7195c512fdaec6f2182c4a61516b3b4eb (patch) | |
tree | 7c3a020db661ed38cd22bb30aa7f898b11b8a245 | |
parent | 24048fb655a15cf35da1e0625429713a6bfabc17 (diff) | |
download | libsyscommon-d1d96ab7195c512fdaec6f2182c4a61516b3b4eb.tar.gz libsyscommon-d1d96ab7195c512fdaec6f2182c4a61516b3b4eb.tar.bz2 libsyscommon-d1d96ab7195c512fdaec6f2182c4a61516b3b4eb.zip |
libgdbus: fix destroy_func param of g_dbus_connection_signal_unsubscribetizen_6.0
Change-Id: Iecac374f5b0439f184afb3a5715f3d786c2ba931
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
(cherry picked from commit 94768c8ccfe4b69d5e59879e520038b09244112b)
-rw-r--r-- | src/libgdbus/dbus-system.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/libgdbus/dbus-system.c b/src/libgdbus/dbus-system.c index cb63c88..a78fe4d 100644 --- a/src/libgdbus/dbus-system.c +++ b/src/libgdbus/dbus-system.c @@ -1418,11 +1418,6 @@ err: return -1; } -static void _free_func_signal(gpointer data) -{ - //_D("free signal subscribe"); -} - guint subscribe_dbus_signal(dbus_handle_h handle, const char *path, const char *iface, const char *name, GDBusSignalCallback cb, void *data, @@ -1442,7 +1437,7 @@ guint subscribe_dbus_signal(dbus_handle_h handle, const char *path, _E("connection is null. check bus status"); return 0; } - return g_dbus_connection_signal_subscribe(dh->conn, NULL, iface, name, path, NULL, G_DBUS_SIGNAL_FLAGS_NONE, cb, data, _free_func_signal); + return g_dbus_connection_signal_subscribe(dh->conn, NULL, iface, name, path, NULL, G_DBUS_SIGNAL_FLAGS_NONE, cb, data, free_func); } void unsubscribe_dbus_signal(dbus_handle_h handle, guint id) |