forked from AuroraMiddleware/gtk
GtkLayout: Remove freeze_count member
Unused.
This commit is contained in:
parent
8c403c43f0
commit
4dd1ff6dd2
@ -75,8 +75,6 @@ struct _GtkLayoutPrivate
|
|||||||
|
|
||||||
/* Properties */
|
/* Properties */
|
||||||
GList *children;
|
GList *children;
|
||||||
|
|
||||||
guint freeze_count;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GtkLayoutChild {
|
struct _GtkLayoutChild {
|
||||||
@ -138,7 +136,7 @@ static void gtk_layout_get_child_property (GtkContainer *container,
|
|||||||
GValue *value,
|
GValue *value,
|
||||||
GParamSpec *pspec);
|
GParamSpec *pspec);
|
||||||
static void gtk_layout_adjustment_changed (GtkAdjustment *adjustment,
|
static void gtk_layout_adjustment_changed (GtkAdjustment *adjustment,
|
||||||
GtkLayout *layout);
|
GtkWidget *widget);
|
||||||
|
|
||||||
static void gtk_layout_set_hadjustment_values (GtkLayout *layout);
|
static void gtk_layout_set_hadjustment_values (GtkLayout *layout);
|
||||||
static void gtk_layout_set_vadjustment_values (GtkLayout *layout);
|
static void gtk_layout_set_vadjustment_values (GtkLayout *layout);
|
||||||
@ -705,8 +703,6 @@ gtk_layout_init (GtkLayout *layout)
|
|||||||
|
|
||||||
priv->hadjustment = NULL;
|
priv->hadjustment = NULL;
|
||||||
priv->vadjustment = NULL;
|
priv->vadjustment = NULL;
|
||||||
|
|
||||||
priv->freeze_count = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -824,12 +820,7 @@ gtk_layout_forall (GtkContainer *container,
|
|||||||
|
|
||||||
static void
|
static void
|
||||||
gtk_layout_adjustment_changed (GtkAdjustment *adjustment,
|
gtk_layout_adjustment_changed (GtkAdjustment *adjustment,
|
||||||
GtkLayout *layout)
|
GtkWidget *layout)
|
||||||
{
|
{
|
||||||
GtkLayoutPrivate *priv = layout->priv;
|
gtk_widget_queue_allocate (layout);
|
||||||
|
|
||||||
if (priv->freeze_count)
|
|
||||||
return;
|
|
||||||
|
|
||||||
gtk_widget_queue_allocate (GTK_WIDGET (layout));
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user