combo box text: Make final

This commit is contained in:
Matthias Clasen 2019-05-26 22:16:58 -04:00
parent 537cf2acec
commit 72ef09f55d
2 changed files with 14 additions and 25 deletions

View File

@ -86,6 +86,19 @@
* children, and the .linked class to the node of its internal box. * children, and the .linked class to the node of its internal box.
*/ */
typedef struct _GtkComboBoxTextClass GtkComboBoxTextClass;
struct _GtkComboBoxText
{
GtkComboBox parent_instance;
};
struct _GtkComboBoxTextClass
{
GtkComboBoxClass parent_class;
};
static void gtk_combo_box_text_buildable_interface_init (GtkBuildableIface *iface); static void gtk_combo_box_text_buildable_interface_init (GtkBuildableIface *iface);
static gboolean gtk_combo_box_text_buildable_custom_tag_start (GtkBuildable *buildable, static gboolean gtk_combo_box_text_buildable_custom_tag_start (GtkBuildable *buildable,
GtkBuilder *builder, GtkBuilder *builder,

View File

@ -29,33 +29,9 @@ G_BEGIN_DECLS
#define GTK_TYPE_COMBO_BOX_TEXT (gtk_combo_box_text_get_type ()) #define GTK_TYPE_COMBO_BOX_TEXT (gtk_combo_box_text_get_type ())
#define GTK_COMBO_BOX_TEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_COMBO_BOX_TEXT, GtkComboBoxText)) #define GTK_COMBO_BOX_TEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_COMBO_BOX_TEXT, GtkComboBoxText))
#define GTK_COMBO_BOX_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_COMBO_BOX_TEXT, GtkComboBoxTextClass))
#define GTK_IS_COMBO_BOX_TEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_COMBO_BOX_TEXT)) #define GTK_IS_COMBO_BOX_TEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_COMBO_BOX_TEXT))
#define GTK_IS_COMBO_BOX_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_COMBO_BOX_TEXT))
#define GTK_COMBO_BOX_TEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_COMBO_BOX_TEXT, GtkComboBoxTextClass))
typedef struct _GtkComboBoxText GtkComboBoxText; typedef struct _GtkComboBoxText GtkComboBoxText;
typedef struct _GtkComboBoxTextPrivate GtkComboBoxTextPrivate;
typedef struct _GtkComboBoxTextClass GtkComboBoxTextClass;
struct _GtkComboBoxText
{
/*< private >*/
GtkComboBox parent_instance;
GtkComboBoxTextPrivate *priv;
};
struct _GtkComboBoxTextClass
{
GtkComboBoxClass 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 GDK_AVAILABLE_IN_ALL
GType gtk_combo_box_text_get_type (void) G_GNUC_CONST; GType gtk_combo_box_text_get_type (void) G_GNUC_CONST;