Prefix dbus callbacks with dbus_cb_
This commit is contained in:
parent
0d82b19987
commit
4fbb8fa75b
12
src/dbus.c
12
src/dbus.c
@ -394,7 +394,7 @@ static const GDBusInterfaceVTable interface_vtable = {
|
||||
handle_method_call
|
||||
};
|
||||
|
||||
static void on_bus_acquired(GDBusConnection *connection,
|
||||
static void dbus_cb_bus_acquired(GDBusConnection *connection,
|
||||
const gchar *name,
|
||||
gpointer user_data)
|
||||
{
|
||||
@ -415,7 +415,7 @@ static void on_bus_acquired(GDBusConnection *connection,
|
||||
}
|
||||
}
|
||||
|
||||
static void on_name_acquired(GDBusConnection *connection,
|
||||
static void dbus_cb_name_acquired(GDBusConnection *connection,
|
||||
const gchar *name,
|
||||
gpointer user_data)
|
||||
{
|
||||
@ -533,7 +533,7 @@ static bool dbus_get_fdn_daemon_info(GDBusConnection *connection,
|
||||
}
|
||||
|
||||
|
||||
static void on_name_lost(GDBusConnection *connection,
|
||||
static void dbus_cb_name_lost(GDBusConnection *connection,
|
||||
const gchar *name,
|
||||
gpointer user_data)
|
||||
{
|
||||
@ -598,9 +598,9 @@ int dbus_init(void)
|
||||
owner_id = g_bus_own_name(G_BUS_TYPE_SESSION,
|
||||
FDN_NAME,
|
||||
G_BUS_NAME_OWNER_FLAGS_NONE,
|
||||
on_bus_acquired,
|
||||
on_name_acquired,
|
||||
on_name_lost,
|
||||
dbus_cb_bus_acquired,
|
||||
dbus_cb_name_acquired,
|
||||
dbus_cb_name_lost,
|
||||
NULL,
|
||||
NULL);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user