[gnome-builder] editor: queue resizes at the editor scrolled window



commit 5fcd6be32492ec6a9a4d2b69411168423228428a
Author: Christian Hergert <chergert redhat com>
Date:   Tue Sep 19 00:08:15 2017 -0700

    editor: queue resizes at the editor scrolled window
    
    This avoids passing the resize all the way up to the root window during
    every frame of a scroll. The practical example here is that this should
    reduce some overhead in the parent widgets. Especially in size machinery.

 libide/editor/ide-editor-view.ui |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libide/editor/ide-editor-view.ui b/libide/editor/ide-editor-view.ui
index c7fa19e..127d5de 100644
--- a/libide/editor/ide-editor-view.ui
+++ b/libide/editor/ide-editor-view.ui
@@ -91,6 +91,7 @@
             <property name="visible">true</property>
             <child>
               <object class="GtkScrolledWindow" id="scroller">
+                <property name="resize-mode">queue</property>
                 <property name="expand">true</property>
                 <property name="visible">true</property>
                 <child>


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