Commit 07a574dd authored by Benjamin Otte's avatar Benjamin Otte

window: Use gtk_widget_queue_resize()

_gtk_container_queue_resize() is a private function and probably
shouldn't have even been used in 1999 when this call was originally
added.
parent bcc0a543
......@@ -190,7 +190,7 @@ gtk_win32_embed_widget_realize (GtkWidget *widget)
}
gtk_widget_size_allocate (widget, &allocation);
_gtk_container_queue_resize (GTK_CONTAINER (widget));
gtk_widget_queue_resize (widget);
g_return_if_fail (!gtk_widget_get_realized (widget));
}
......
......@@ -7052,7 +7052,7 @@ gtk_window_realize (GtkWidget *widget)
allocation.height = MAX (allocation.height, h);
gtk_widget_size_allocate (widget, &allocation);
_gtk_container_queue_resize (GTK_CONTAINER (widget));
gtk_widget_queue_resize (widget);
g_return_if_fail (!_gtk_widget_get_realized (widget));
}
......@@ -7558,7 +7558,7 @@ gtk_window_configure_event (GtkWidget *widget,
priv->configure_notify_received = TRUE;
_gtk_container_queue_resize (GTK_CONTAINER (widget));
gtk_widget_queue_resize (widget);
return TRUE;
}
......
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