mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-04 18:26:19 +01:00
gdbusconnection: Add some ownership annotations
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
310f2c1632
commit
a497fdf302
@ -4086,11 +4086,11 @@ typedef struct
|
|||||||
ExportedObject *eo;
|
ExportedObject *eo;
|
||||||
|
|
||||||
guint id;
|
guint id;
|
||||||
gchar *interface_name;
|
gchar *interface_name; /* (owned) */
|
||||||
GDBusInterfaceVTable *vtable;
|
GDBusInterfaceVTable *vtable; /* (owned) */
|
||||||
GDBusInterfaceInfo *interface_info;
|
GDBusInterfaceInfo *interface_info; /* (owned) */
|
||||||
|
|
||||||
GMainContext *context;
|
GMainContext *context; /* (owned) */
|
||||||
gpointer user_data;
|
gpointer user_data;
|
||||||
GDestroyNotify user_data_free_func;
|
GDestroyNotify user_data_free_func;
|
||||||
} ExportedInterface;
|
} ExportedInterface;
|
||||||
@ -4116,12 +4116,12 @@ exported_interface_free (ExportedInterface *ei)
|
|||||||
struct ExportedSubtree
|
struct ExportedSubtree
|
||||||
{
|
{
|
||||||
guint id;
|
guint id;
|
||||||
gchar *object_path;
|
gchar *object_path; /* (owned) */
|
||||||
GDBusConnection *connection;
|
GDBusConnection *connection; /* (unowned) */
|
||||||
GDBusSubtreeVTable *vtable;
|
GDBusSubtreeVTable *vtable; /* (owned) */
|
||||||
GDBusSubtreeFlags flags;
|
GDBusSubtreeFlags flags;
|
||||||
|
|
||||||
GMainContext *context;
|
GMainContext *context; /* (owned) */
|
||||||
gpointer user_data;
|
gpointer user_data;
|
||||||
GDestroyNotify user_data_free_func;
|
GDestroyNotify user_data_free_func;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user