forked from AuroraMiddleware/gtk
builder: Make the struct private
We don't want anyone to subclass it - if we want to allow bindings to extend GtkBuilder, we will be using delegate objects/functions for it.
This commit is contained in:
parent
245fdc8b38
commit
4fbb0d7ce4
@ -241,7 +241,6 @@
|
||||
#include "gtkicontheme.h"
|
||||
#include "gtktestutils.h"
|
||||
|
||||
|
||||
static void gtk_builder_finalize (GObject *object);
|
||||
static void gtk_builder_set_property (GObject *object,
|
||||
guint prop_id,
|
||||
@ -260,6 +259,16 @@ enum {
|
||||
|
||||
static GParamSpec *builder_props[LAST_PROP];
|
||||
|
||||
struct _GtkBuilder
|
||||
{
|
||||
GObject parent_instance;
|
||||
};
|
||||
|
||||
struct _GtkBuilderClass
|
||||
{
|
||||
GObjectClass parent_class;
|
||||
};
|
||||
|
||||
typedef struct
|
||||
{
|
||||
gchar *domain;
|
||||
|
@ -93,20 +93,6 @@ typedef enum
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GQuark gtk_builder_error_quark (void);
|
||||
|
||||
struct _GtkBuilder
|
||||
{
|
||||
GObject parent_instance;
|
||||
};
|
||||
|
||||
struct _GtkBuilderClass
|
||||
{
|
||||
GObjectClass parent_class;
|
||||
|
||||
/*< private >*/
|
||||
|
||||
gpointer padding[8];
|
||||
};
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gtk_builder_get_type (void) G_GNUC_CONST;
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
|
Loading…
Reference in New Issue
Block a user