mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
GtkIconView: Unseal private pointer
This commit is contained in:
parent
f66ebd8e59
commit
754dc6491b
@ -59,8 +59,6 @@
|
||||
|
||||
#define SCROLL_EDGE_SIZE 15
|
||||
|
||||
#define GTK_ICON_VIEW_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), GTK_TYPE_ICON_VIEW, GtkIconViewPrivate))
|
||||
|
||||
typedef struct _GtkIconViewItem GtkIconViewItem;
|
||||
struct _GtkIconViewItem
|
||||
{
|
||||
@ -1105,8 +1103,10 @@ gtk_icon_view_cell_layout_init (GtkCellLayoutIface *iface)
|
||||
static void
|
||||
gtk_icon_view_init (GtkIconView *icon_view)
|
||||
{
|
||||
icon_view->priv = GTK_ICON_VIEW_GET_PRIVATE (icon_view);
|
||||
|
||||
icon_view->priv = G_TYPE_INSTANCE_GET_PRIVATE (icon_view,
|
||||
GTK_TYPE_ICON_VIEW,
|
||||
GtkIconViewPrivate);
|
||||
|
||||
icon_view->priv->width = 0;
|
||||
icon_view->priv->height = 0;
|
||||
icon_view->priv->selection_mode = GTK_SELECTION_SINGLE;
|
||||
|
@ -81,7 +81,8 @@ struct _GtkIconView
|
||||
{
|
||||
GtkContainer parent;
|
||||
|
||||
GtkIconViewPrivate *GSEAL (priv);
|
||||
/* <private> */
|
||||
GtkIconViewPrivate *priv;
|
||||
};
|
||||
|
||||
struct _GtkIconViewClass
|
||||
|
Loading…
Reference in New Issue
Block a user