Commit 637c9f16 authored by Javier Jardón's avatar Javier Jardón

gtkcellview: unseal private pointer

parent 3c90ecf2
......@@ -122,7 +122,6 @@ static void gtk_cell_view_buildable_custom_tag_end (GtkBuildable
static GtkBuildableIface *parent_buildable_iface;
#define GTK_CELL_VIEW_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), GTK_TYPE_CELL_VIEW, GtkCellViewPrivate))
enum
{
......@@ -288,9 +287,14 @@ gtk_cell_view_set_property (GObject *object,
static void
gtk_cell_view_init (GtkCellView *cellview)
{
gtk_widget_set_has_window (GTK_WIDGET (cellview), FALSE);
GtkCellViewPrivate *priv;
cellview->priv = G_TYPE_INSTANCE_GET_PRIVATE (cellview,
GTK_TYPE_CELL_VIEW,
GtkCellViewPrivate);
priv = cellview->priv;
cellview->priv = GTK_CELL_VIEW_GET_PRIVATE (cellview);
gtk_widget_set_has_window (GTK_WIDGET (cellview), FALSE);
}
static void
......
......@@ -46,7 +46,7 @@ struct _GtkCellView
GtkWidget parent_instance;
/*< private >*/
GtkCellViewPrivate *GSEAL (priv);
GtkCellViewPrivate *priv;
};
struct _GtkCellViewClass
......
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