mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-18 17:10:04 +00:00
gtkcellview: unseal private pointer
This commit is contained in:
parent
3c90ecf27b
commit
637c9f16e3
@ -122,7 +122,6 @@ static void gtk_cell_view_buildable_custom_tag_end (GtkBuildable
|
|||||||
|
|
||||||
static GtkBuildableIface *parent_buildable_iface;
|
static GtkBuildableIface *parent_buildable_iface;
|
||||||
|
|
||||||
#define GTK_CELL_VIEW_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), GTK_TYPE_CELL_VIEW, GtkCellViewPrivate))
|
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
@ -288,9 +287,14 @@ gtk_cell_view_set_property (GObject *object,
|
|||||||
static void
|
static void
|
||||||
gtk_cell_view_init (GtkCellView *cellview)
|
gtk_cell_view_init (GtkCellView *cellview)
|
||||||
{
|
{
|
||||||
gtk_widget_set_has_window (GTK_WIDGET (cellview), FALSE);
|
GtkCellViewPrivate *priv;
|
||||||
|
|
||||||
cellview->priv = GTK_CELL_VIEW_GET_PRIVATE (cellview);
|
cellview->priv = G_TYPE_INSTANCE_GET_PRIVATE (cellview,
|
||||||
|
GTK_TYPE_CELL_VIEW,
|
||||||
|
GtkCellViewPrivate);
|
||||||
|
priv = cellview->priv;
|
||||||
|
|
||||||
|
gtk_widget_set_has_window (GTK_WIDGET (cellview), FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -46,7 +46,7 @@ struct _GtkCellView
|
|||||||
GtkWidget parent_instance;
|
GtkWidget parent_instance;
|
||||||
|
|
||||||
/*< private >*/
|
/*< private >*/
|
||||||
GtkCellViewPrivate *GSEAL (priv);
|
GtkCellViewPrivate *priv;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GtkCellViewClass
|
struct _GtkCellViewClass
|
||||||
|
Loading…
Reference in New Issue
Block a user