mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
Add a g_dbus_connection_register_object_with_closures function
This is a binding-friendly version of g_dbus_connection_register_object. Based on a patch by Martin Pitt and the code of g_bus_watch_name_with_closures. https://bugzilla.gnome.org/show_bug.cgi?id=656325
This commit is contained in:
committed by
Matthias Clasen
parent
61254347b1
commit
5d014a802a
@@ -401,6 +401,14 @@ guint g_dbus_connection_register_object (GDBusConnection
|
||||
gpointer user_data,
|
||||
GDestroyNotify user_data_free_func,
|
||||
GError **error);
|
||||
GLIB_AVAILABLE_IN_2_46
|
||||
guint g_dbus_connection_register_object_with_closures (GDBusConnection *connection,
|
||||
const gchar *object_path,
|
||||
GDBusInterfaceInfo *interface_info,
|
||||
GClosure *method_call_closure,
|
||||
GClosure *get_property_closure,
|
||||
GClosure *set_property_closure,
|
||||
GError **error);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gboolean g_dbus_connection_unregister_object (GDBusConnection *connection,
|
||||
guint registration_id);
|
||||
|
Reference in New Issue
Block a user