mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
Add _with_closures alternative functions for those in GDBus that
accept more than one callback. g_bus_own_name_with_closures g_bus_own_name_on_connection_with_closures g_bus_watch_name_with_closures g_bus_watch_name_on_connection_with_closures g_bus_watch_proxy_with_closures g_bus_watch_proxy_on_connection_with_closures https://bugzilla.gnome.org/show_bug.cgi?id=621092
This commit is contained in:
@@ -91,6 +91,20 @@ guint g_bus_own_name_on_connection (GDBusConnection *connection,
|
||||
gpointer user_data,
|
||||
GDestroyNotify user_data_free_func);
|
||||
|
||||
guint g_bus_own_name_with_closures (GBusType bus_type,
|
||||
const gchar *name,
|
||||
GBusNameOwnerFlags flags,
|
||||
GClosure *bus_acquired_closure,
|
||||
GClosure *name_acquired_closure,
|
||||
GClosure *name_lost_closure);
|
||||
|
||||
guint g_bus_own_name_on_connection_with_closures (
|
||||
GDBusConnection *connection,
|
||||
const gchar *name,
|
||||
GBusNameOwnerFlags flags,
|
||||
GClosure *name_acquired_closure,
|
||||
GClosure *name_lost_closure);
|
||||
|
||||
void g_bus_unown_name (guint owner_id);
|
||||
|
||||
G_END_DECLS
|
||||
|
Reference in New Issue
Block a user