diff options
author | Regis Merlino <regis.merlino@intel.com> | 2013-07-23 11:13:20 +0200 |
---|---|---|
committer | Regis Merlino <regis.merlino@intel.com> | 2013-07-23 11:13:20 +0200 |
commit | a56c850798271ffb645744c066220401106a972a (patch) | |
tree | 8754ee02bd4ac41abacedcd1ef8e5e2599cb460a | |
parent | e992f5ef8f3cf2a4f1c519b1aafde85e6c4080d6 (diff) | |
download | dleyna-core-a56c850798271ffb645744c066220401106a972a.tar.gz |
[Connector] Change publish_object() signature
The interface_index parameter relates to the corresponding xml
part from the introspection data passed to initialize().
This was convenient for the d-bus connector implementation, but
required xml parsing for other connector implementations.
This commit replaces the interface_index parameter with the
actual interface name to avoid the xml parsing task.
Signed-off-by: Regis Merlino <regis.merlino@intel.com>
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | libdleyna/core/connector.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 2298677..67dbcd2 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ AC_PREREQ([2.66]) AC_INIT([dleyna-core], - [0.2.0], + [0.2.1], [https://github.com/01org/dleyna-core/issues/new], , [https://01.org/dleyna/]) diff --git a/libdleyna/core/connector.h b/libdleyna/core/connector.h index d9599a6..39573cd 100644 --- a/libdleyna/core/connector.h +++ b/libdleyna/core/connector.h @@ -67,7 +67,7 @@ typedef guint (*dleyna_connector_publish_object_t)( dleyna_connector_id_t connection, const gchar *object_path, gboolean root, - guint interface_index, + const gchar* interface_name, const dleyna_connector_dispatch_cb_t *cb_table_1); typedef guint (*dleyna_connector_publish_subtree_t)( dleyna_connector_id_t connection, |