forked from AuroraMiddleware/gtk
gtkcontainer: Guard internal use of deprecated public API
This commit is contained in:
parent
e0f4bf5d35
commit
eef5f27fb4
@ -2107,8 +2107,10 @@ _gtk_container_queue_restyle (GtkContainer *container)
|
||||
void
|
||||
_gtk_container_maybe_start_idle_sizer (GtkContainer *container)
|
||||
{
|
||||
G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
|
||||
if (!GTK_IS_RESIZE_CONTAINER (container))
|
||||
return;
|
||||
G_GNUC_END_IGNORE_DEPRECATIONS;
|
||||
|
||||
if (container->priv->restyle_pending || gtk_widget_needs_allocate (GTK_WIDGET (container)))
|
||||
gtk_container_start_idle_sizer (container);
|
||||
|
Loading…
Reference in New Issue
Block a user