summaryrefslogtreecommitdiff
path: root/src/lib/eldbus/eldbus_service.c
diff options
context:
space:
mode:
authorJosé Roberto de Souza <jose.souza@intel.com>2013-08-23 16:00:44 -0300
committerJosé Roberto de Souza <jose.souza@intel.com>2013-08-23 16:05:18 -0300
commit26a6b01369c21d762daee0589575483b2bb44cfe (patch)
treef51b79dd92f65b4f02d5a4b42065d14ef699b1ab /src/lib/eldbus/eldbus_service.c
parent09bae8b373e1ad4404592a8d8a269d5b7a40136c (diff)
eldbus: Correctly append name of interface removed
Diffstat (limited to 'src/lib/eldbus/eldbus_service.c')
-rw-r--r--src/lib/eldbus/eldbus_service.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/eldbus/eldbus_service.c b/src/lib/eldbus/eldbus_service.c
index 5bf4351038..40a86b07d0 100644
--- a/src/lib/eldbus/eldbus_service.c
+++ b/src/lib/eldbus/eldbus_service.c
@@ -750,8 +750,8 @@ _object_manager_iface_removed_emit(Eldbus_Service_Object *obj,
750 const char *name; 750 const char *name;
751 Eldbus_Message_Iter *iter, *array; 751 Eldbus_Message_Iter *iter, *array;
752 Eldbus_Message *sig = eldbus_message_signal_new(parent->path, 752 Eldbus_Message *sig = eldbus_message_signal_new(parent->path,
753 ELDBUS_FDO_INTERFACE_OBJECT_MANAGER, 753 ELDBUS_FDO_INTERFACE_OBJECT_MANAGER,
754 "InterfacesRemoved"); 754 "InterfacesRemoved");
755 EINA_SAFETY_ON_NULL_RETURN(sig); 755 EINA_SAFETY_ON_NULL_RETURN(sig);
756 756
757 iter = eldbus_message_iter_get(sig); 757 iter = eldbus_message_iter_get(sig);
@@ -759,7 +759,7 @@ _object_manager_iface_removed_emit(Eldbus_Service_Object *obj,
759 759
760 EINA_LIST_FOREACH(obj->iface_removed, l, name) 760 EINA_LIST_FOREACH(obj->iface_removed, l, name)
761 { 761 {
762 eldbus_message_iter_arguments_append(array, name); 762 eldbus_message_iter_arguments_append(array, "s", name);
763 eina_stringshare_del(name); 763 eina_stringshare_del(name);
764 } 764 }
765 eldbus_message_iter_container_close(iter, array); 765 eldbus_message_iter_container_close(iter, array);