dbusiface-client: Fix the interface name.

This commit is contained in:
Tanu Kaskinen 2009-08-15 17:08:21 +03:00
parent 9ed25d7388
commit c7f4ed3c7a
2 changed files with 6 additions and 3 deletions

View file

@ -118,7 +118,7 @@ static pa_dbus_signal_info signals[SIGNAL_MAX] = {
};*/
static pa_dbus_interface_info client_interface_info = {
.name = OBJECT_NAME,
.name = PA_DBUSIFACE_CLIENT_INTERFACE,
.method_handlers = /*method_handlers*/ NULL,
.n_method_handlers = /*METHOD_HANDLER_MAX*/ 0,
.property_handlers = property_handlers,

View file

@ -22,16 +22,19 @@
USA.
***/
/* This object implements the D-Bus interface org.PulseAudio.Core1.Card.
/* This object implements the D-Bus interface org.PulseAudio.Core1.Client.
*
* See http://pulseaudio.org/wiki/DBusInterface for the Card interface
* See http://pulseaudio.org/wiki/DBusInterface for the Client interface
* documentation.
*/
#include <pulsecore/client.h>
#include <pulsecore/protocol-dbus.h>
#include "iface-core.h"
#define PA_DBUSIFACE_CLIENT_INTERFACE PA_DBUS_CORE_INTERFACE ".Client"
typedef struct pa_dbusiface_client pa_dbusiface_client;
pa_dbusiface_client *pa_dbusiface_client_new(pa_dbusiface_core *core, pa_client *client);