edbus: typo

SVN revision: 78810
This commit is contained in:
Sebastian Dransfeld 2012-11-02 01:46:50 +00:00
parent e94d0c6eb1
commit 593b9c00e0
1 changed files with 6 additions and 6 deletions

View File

@ -53,7 +53,7 @@ static DBusObjectPathVTable vtable = {
EDBus_Service_Interface *introspectable; EDBus_Service_Interface *introspectable;
static void static void
_instrospect_append_signal(Eina_Strbuf *buf, const EDBus_Signal *sig) _introspect_append_signal(Eina_Strbuf *buf, const EDBus_Signal *sig)
{ {
int i; int i;
const char *part, *name; const char *part, *name;
@ -134,7 +134,7 @@ _introspect_append_interface(Eina_Strbuf *buf, EDBus_Service_Interface *iface)
size = eina_array_count(iface->sign_of_signals); size = eina_array_count(iface->sign_of_signals);
for (i = 0; i < size; i++) for (i = 0; i < size; i++)
_instrospect_append_signal(buf, &iface->signals[i]); _introspect_append_signal(buf, &iface->signals[i]);
eina_strbuf_append(buf, "</interface>"); eina_strbuf_append(buf, "</interface>");
} }
@ -172,7 +172,7 @@ cb_introspect(const EDBus_Service_Interface *_iface, const EDBus_Message *messag
return reply; return reply;
} }
static const EDBus_Method instrospect = { static const EDBus_Method introspect = {
"Introspect", NULL, EDBUS_ARGS({ "s", "xml" }), cb_introspect "Introspect", NULL, EDBUS_ARGS({ "s", "xml" }), cb_introspect
}; };
@ -187,11 +187,11 @@ _introspectable_create(void)
introspectable->name = eina_stringshare_add("org.freedesktop.DBus.Introspectable"); introspectable->name = eina_stringshare_add("org.freedesktop.DBus.Introspectable");
introspectable->methods = eina_hash_string_small_new(NULL); introspectable->methods = eina_hash_string_small_new(NULL);
eina_hash_add(introspectable->methods, instrospect.member, &instrospect); eina_hash_add(introspectable->methods, introspect.member, &introspect);
} }
static void static void
_instrospectable_free(void) _introspectable_free(void)
{ {
eina_hash_free(introspectable->methods); eina_hash_free(introspectable->methods);
eina_stringshare_del(introspectable->name); eina_stringshare_del(introspectable->name);
@ -211,7 +211,7 @@ edbus_service_init(void)
void void
edbus_service_shutdown(void) edbus_service_shutdown(void)
{ {
_instrospectable_free(); _introspectable_free();
} }
static EDBus_Service_Object * static EDBus_Service_Object *