[gnome-builder/gnome-builder-3-26] editor: queue resizes at the editor scrolled window
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-3-26] editor: queue resizes at the editor scrolled window
- Date: Tue, 19 Sep 2017 07:10:43 +0000 (UTC)
commit 99cae455373856ac4762eba63ec42ce7b6d606f3
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]