[gtk+] gtkcontainer: Guard internal use of deprecated public API



commit eef5f27fb49134bf72565d685f1c4a4434cf2615
Author: Colomban Wendling <ban herbesfolles org>
Date:   Sun Nov 1 02:35:09 2015 +0100

    gtkcontainer: Guard internal use of deprecated public API

 gtk/gtkcontainer.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c
index 87f22c6..3cc20eb 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]