summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColomban Wendling <ban@herbesfolles.org>2015-11-01 02:35:09 +0100
committerBenjamin Otte <otte@redhat.com>2015-11-01 02:42:36 +0100
commiteef5f27fb49134bf72565d685f1c4a4434cf2615 (patch)
tree6c6e106236c34bf997fad9734f9e031f7964a0d7
parente0f4bf5d3523c65521a5ac0768c5770fb7836bd9 (diff)
downloadgtk+-eef5f27fb49134bf72565d685f1c4a4434cf2615.tar.gz
gtkcontainer: Guard internal use of deprecated public API
-rw-r--r--gtk/gtkcontainer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c
index 87f22c669c..3cc20ebdbd 100644
--- a/gtk/gtkcontainer.c
+++ b/gtk/gtkcontainer.c
@@ -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);