dbus.c: fix some comments, remove confusing ones
This commit is contained in:
parent
09bffcd432
commit
7bc45a5c4e
20
dbus.c
20
dbus.c
|
@ -504,9 +504,6 @@ a_dbus_process_requests_on_bus(DBusConnection *dbus_connection, GSource **source
|
||||||
dbus_connection_flush(dbus_connection);
|
dbus_connection_flush(dbus_connection);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Foreword D-Bus process session requests on too the correct function.
|
|
||||||
* \param data
|
|
||||||
*/
|
|
||||||
static gboolean
|
static gboolean
|
||||||
a_dbus_process_requests_session(gpointer data)
|
a_dbus_process_requests_session(gpointer data)
|
||||||
{
|
{
|
||||||
|
@ -514,9 +511,6 @@ a_dbus_process_requests_session(gpointer data)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Foreword D-Bus process system requests on too the correct function.
|
|
||||||
* \param data
|
|
||||||
*/
|
|
||||||
static gboolean
|
static gboolean
|
||||||
a_dbus_process_requests_system(gpointer data)
|
a_dbus_process_requests_system(gpointer data)
|
||||||
{
|
{
|
||||||
|
@ -524,9 +518,9 @@ a_dbus_process_requests_system(gpointer data)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Attempt to request a D-Bus name
|
/** Attempt to request a D-Bus name.
|
||||||
* \param dbus_connection The application's connection to D-Bus
|
* \param dbus_connection The application's connection to D-Bus.
|
||||||
* \param name The D-Bus connection name to be requested
|
* \param name The D-Bus connection name to be requested.
|
||||||
* \return true if the name is primary owner or the name is already
|
* \return true if the name is primary owner or the name is already
|
||||||
* the owner, otherwise false.
|
* the owner, otherwise false.
|
||||||
*/
|
*/
|
||||||
|
@ -663,9 +657,9 @@ a_dbus_cleanup(void)
|
||||||
a_dbus_cleanup_bus(dbus_connection_system, &system_source);
|
a_dbus_cleanup_bus(dbus_connection_system, &system_source);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Retrieve the D-Bus bus by it's name
|
/** Retrieve the D-Bus bus by its name.
|
||||||
* \param name The name of the bus
|
* \param name The name of the bus.
|
||||||
* \return The corresponding D-Bus connection
|
* \return The corresponding D-Bus connection.
|
||||||
*/
|
*/
|
||||||
static DBusConnection *
|
static DBusConnection *
|
||||||
a_dbus_bus_getbyname(const char *name)
|
a_dbus_bus_getbyname(const char *name)
|
||||||
|
@ -677,7 +671,7 @@ a_dbus_bus_getbyname(const char *name)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Register a D-Bus name to receive message from.
|
/** Register a D-Bus name to receive messages from.
|
||||||
*
|
*
|
||||||
* @param bus A string indicating if we are using system or session bus.
|
* @param bus A string indicating if we are using system or session bus.
|
||||||
* @param name A string with the name of the D-Bus name to register.
|
* @param name A string with the name of the D-Bus name to register.
|
||||||
|
|
Loading…
Reference in New Issue