forked from AuroraMiddleware/gtk
size group: Make not subclassable
Part of being more explicit about what we allow to be subclassed and what not.
This commit is contained in:
parent
f656d38e59
commit
963152a85a
@ -102,6 +102,10 @@
|
||||
* ]|
|
||||
*/
|
||||
|
||||
struct _GtkSizeGroupClass
|
||||
{
|
||||
GObjectClass parent_class;
|
||||
};
|
||||
|
||||
struct _GtkSizeGroupPrivate
|
||||
{
|
||||
|
@ -29,11 +29,7 @@ G_BEGIN_DECLS
|
||||
|
||||
#define GTK_TYPE_SIZE_GROUP (gtk_size_group_get_type ())
|
||||
#define GTK_SIZE_GROUP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SIZE_GROUP, GtkSizeGroup))
|
||||
#define GTK_SIZE_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SIZE_GROUP, GtkSizeGroupClass))
|
||||
#define GTK_IS_SIZE_GROUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SIZE_GROUP))
|
||||
#define GTK_IS_SIZE_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SIZE_GROUP))
|
||||
#define GTK_SIZE_GROUP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SIZE_GROUP, GtkSizeGroupClass))
|
||||
|
||||
|
||||
typedef struct _GtkSizeGroup GtkSizeGroup;
|
||||
typedef struct _GtkSizeGroupPrivate GtkSizeGroupPrivate;
|
||||
@ -47,17 +43,6 @@ struct _GtkSizeGroup
|
||||
GtkSizeGroupPrivate *priv;
|
||||
};
|
||||
|
||||
struct _GtkSizeGroupClass
|
||||
{
|
||||
GObjectClass parent_class;
|
||||
|
||||
/* Padding for future expansion */
|
||||
void (*_gtk_reserved1) (void);
|
||||
void (*_gtk_reserved2) (void);
|
||||
void (*_gtk_reserved3) (void);
|
||||
void (*_gtk_reserved4) (void);
|
||||
};
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gtk_size_group_get_type (void) G_GNUC_CONST;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user