Commit 5fd442ed authored by Javier Jardón's avatar Javier Jardón

gtkcomboboxentry: unseal private pointer

parent 56cc11a4
......@@ -29,7 +29,6 @@
#include "gtkintl.h"
#include "gtkbuildable.h"
#define GTK_COMBO_BOX_ENTRY_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), GTK_TYPE_COMBO_BOX_ENTRY, GtkComboBoxEntryPrivate))
struct _GtkComboBoxEntryPrivate
{
......@@ -118,7 +117,10 @@ gtk_combo_box_entry_init (GtkComboBoxEntry *entry_box)
{
GtkWidget *entry;
entry_box->priv = GTK_COMBO_BOX_ENTRY_GET_PRIVATE (entry_box);
entry_box->priv = G_TYPE_INSTANCE_GET_PRIVATE (entry_box,
GTK_TYPE_COMBO_BOX_ENTRY,
GtkComboBoxEntryPrivate);
entry_box->priv->text_column = -1;
entry = gtk_entry_new ();
......
......@@ -45,7 +45,7 @@ struct _GtkComboBoxEntry
GtkComboBox parent_instance;
/*< private >*/
GtkComboBoxEntryPrivate *GSEAL (priv);
GtkComboBoxEntryPrivate *priv;
};
struct _GtkComboBoxEntryClass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment