mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
GDBus: Avoid using the word interface in public C headers
Same deal as with e.g. index since some libraries may do crazy stuff such as "#define interface xyz". Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
parent
4dffec8906
commit
4809028736
@ -59,16 +59,16 @@ struct _GDBusInterfaceIface
|
||||
GTypeInterface parent_iface;
|
||||
|
||||
/* Virtual Functions */
|
||||
GDBusInterfaceInfo *(*get_info) (GDBusInterface *interface);
|
||||
GDBusObject *(*get_object) (GDBusInterface *interface);
|
||||
void (*set_object) (GDBusInterface *interface,
|
||||
GDBusInterfaceInfo *(*get_info) (GDBusInterface *interface_);
|
||||
GDBusObject *(*get_object) (GDBusInterface *interface_);
|
||||
void (*set_object) (GDBusInterface *interface_,
|
||||
GDBusObject *object);
|
||||
};
|
||||
|
||||
GType g_dbus_interface_get_type (void) G_GNUC_CONST;
|
||||
GDBusInterfaceInfo *g_dbus_interface_get_info (GDBusInterface *interface);
|
||||
GDBusObject *g_dbus_interface_get_object (GDBusInterface *interface);
|
||||
void g_dbus_interface_set_object (GDBusInterface *interface,
|
||||
GDBusInterfaceInfo *g_dbus_interface_get_info (GDBusInterface *interface_);
|
||||
GDBusObject *g_dbus_interface_get_object (GDBusInterface *interface_);
|
||||
void g_dbus_interface_set_object (GDBusInterface *interface_,
|
||||
GDBusObject *object);
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -73,9 +73,9 @@ struct _GDBusObjectIface
|
||||
|
||||
/* Signals */
|
||||
void (*interface_added) (GDBusObject *object,
|
||||
GDBusInterface *interface);
|
||||
GDBusInterface *interface_);
|
||||
void (*interface_removed) (GDBusObject *object,
|
||||
GDBusInterface *interface);
|
||||
GDBusInterface *interface_);
|
||||
|
||||
};
|
||||
|
||||
|
@ -71,10 +71,10 @@ struct _GDBusObjectManagerIface
|
||||
|
||||
void (*interface_added) (GDBusObjectManager *manager,
|
||||
GDBusObject *object,
|
||||
GDBusInterface *interface);
|
||||
GDBusInterface *interface_);
|
||||
void (*interface_removed) (GDBusObjectManager *manager,
|
||||
GDBusObject *object,
|
||||
GDBusInterface *interface);
|
||||
GDBusInterface *interface_);
|
||||
};
|
||||
|
||||
GType g_dbus_object_manager_get_type (void) G_GNUC_CONST;
|
||||
|
@ -78,9 +78,9 @@ GType g_dbus_object_stub_get_type (void) G_GNUC_
|
||||
GDBusObjectStub *g_dbus_object_stub_new (const gchar *object_path);
|
||||
void g_dbus_object_stub_flush (GDBusObjectStub *object);
|
||||
void g_dbus_object_stub_add_interface (GDBusObjectStub *object,
|
||||
GDBusInterfaceStub *interface);
|
||||
GDBusInterfaceStub *interface_);
|
||||
void g_dbus_object_stub_remove_interface (GDBusObjectStub *object,
|
||||
GDBusInterfaceStub *interface);
|
||||
GDBusInterfaceStub *interface_);
|
||||
void g_dbus_object_stub_remove_interface_by_name (GDBusObjectStub *object,
|
||||
const gchar *interface_name);
|
||||
void g_dbus_object_stub_set_object_path (GDBusObjectStub *object,
|
||||
|
Loading…
Reference in New Issue
Block a user