mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
GDBus: Hide class structures for classes we don't want to be subclassed
E.g. move these C structures out of public header files and into their respective C files. Also nuke padding since this is no longer needed. This leaves only GDBusProxy as an extendable type. Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
@@ -56,30 +56,6 @@ struct _GDBusConnection
|
||||
GDBusConnectionPrivate *priv;
|
||||
};
|
||||
|
||||
/**
|
||||
* GDBusConnectionClass:
|
||||
* @closed: Signal class handler for the #GDBusConnection::closed signal.
|
||||
*
|
||||
* Class structure for #GDBusConnection.
|
||||
*
|
||||
* Since: 2.26
|
||||
*/
|
||||
struct _GDBusConnectionClass
|
||||
{
|
||||
/*< private >*/
|
||||
GObjectClass parent_class;
|
||||
|
||||
/*< public >*/
|
||||
/* Signals */
|
||||
void (*closed) (GDBusConnection *connection,
|
||||
gboolean remote_peer_vanished,
|
||||
GError *error);
|
||||
|
||||
/*< private >*/
|
||||
/* Padding for future expansion */
|
||||
gpointer padding[64];
|
||||
};
|
||||
|
||||
GType g_dbus_connection_get_type (void) G_GNUC_CONST;
|
||||
|
||||
/* ---------------------------------------------------------------------------------------------------- */
|
||||
|
Reference in New Issue
Block a user