forked from AuroraMiddleware/gtk
widget: Fold queue_resize_on_widget into its only caller
This commit is contained in:
parent
596317c25b
commit
1b36c325eb
@ -5132,7 +5132,8 @@ gtk_widget_queue_resize_internal (GtkWidget *widget)
|
||||
if (gtk_widget_get_resize_needed (widget))
|
||||
return;
|
||||
|
||||
gtk_widget_queue_resize_on_widget (widget);
|
||||
widget->priv->resize_needed = TRUE;
|
||||
gtk_widget_set_alloc_needed (widget);
|
||||
|
||||
groups = _gtk_widget_get_sizegroups (widget);
|
||||
|
||||
@ -14330,15 +14331,6 @@ gtk_widget_ensure_allocate (GtkWidget *widget)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
gtk_widget_queue_resize_on_widget (GtkWidget *widget)
|
||||
{
|
||||
GtkWidgetPrivate *priv = widget->priv;
|
||||
|
||||
priv->resize_needed = TRUE;
|
||||
gtk_widget_set_alloc_needed (widget);
|
||||
}
|
||||
|
||||
void
|
||||
gtk_widget_ensure_resize (GtkWidget *widget)
|
||||
{
|
||||
|
@ -173,7 +173,6 @@ void _gtk_widget_set_shadowed (GtkWidget *widget,
|
||||
gboolean shadowed);
|
||||
gboolean _gtk_widget_get_alloc_needed (GtkWidget *widget);
|
||||
gboolean gtk_widget_needs_allocate (GtkWidget *widget);
|
||||
void gtk_widget_queue_resize_on_widget (GtkWidget *widget);
|
||||
void gtk_widget_ensure_resize (GtkWidget *widget);
|
||||
void gtk_widget_ensure_allocate (GtkWidget *widget);
|
||||
void gtk_widget_draw_internal (GtkWidget *widget,
|
||||
|
Loading…
Reference in New Issue
Block a user