summaryrefslogtreecommitdiff
path: root/legacy/edbus/src/lib/edbus_service.c
diff options
context:
space:
mode:
authorJosé Roberto de Souza <zehortigoza@profusion.mobi>2012-12-20 22:04:02 +0000
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2012-12-20 22:04:02 +0000
commit29c5ffc21a6f38881ed2de7da44f9129da3e58d9 (patch)
tree1eda4edfdf77c566a4dbb8b9630d828cef3a12f5 /legacy/edbus/src/lib/edbus_service.c
parent2576b1b86169523f2b4025e7a35a3e488e963a27 (diff)
edbus: Mark instrospectable as dirty when needed
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi> SVN revision: 81494
Diffstat (limited to '')
-rw-r--r--legacy/edbus/src/lib/edbus_service.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/legacy/edbus/src/lib/edbus_service.c b/legacy/edbus/src/lib/edbus_service.c
index b39d1b9076..3df394693b 100644
--- a/legacy/edbus/src/lib/edbus_service.c
+++ b/legacy/edbus/src/lib/edbus_service.c
@@ -956,8 +956,10 @@ edbus_service_interface_register(EDBus_Connection *conn, const char *path, const
956 if (!signatures) 956 if (!signatures)
957 return NULL; 957 return NULL;
958 958
959 if (obj == NULL) 959 if (!obj)
960 obj = _edbus_service_object_add(conn, path); 960 obj = _edbus_service_object_add(conn, path);
961 else
962 obj->introspection_dirty = EINA_TRUE;
961 EINA_SAFETY_ON_NULL_GOTO(obj, fail); 963 EINA_SAFETY_ON_NULL_GOTO(obj, fail);
962 964
963 iface = _edbus_service_interface_add(obj, desc->interface); 965 iface = _edbus_service_interface_add(obj, desc->interface);
@@ -1103,6 +1105,7 @@ edbus_service_interface_unregister(EDBus_Service_Interface *iface)
1103 return; 1105 return;
1104 } 1106 }
1105 eina_hash_del(iface->obj->interfaces, NULL, iface); 1107 eina_hash_del(iface->obj->interfaces, NULL, iface);
1108 iface->obj->introspection_dirty = EINA_TRUE;
1106 _interface_free(iface); 1109 _interface_free(iface);
1107} 1110}
1108 1111