[Xfce4-commits] <midori:master> Resize the history list treeview in GTK3, not the parent

Christian Dywan noreply at xfce.org
Thu Oct 13 18:34:04 CEST 2011


Updating branch refs/heads/master
         to b639067520e50dbafd93708dd3cb05995d3bc816 (commit)
       from bd5c317ad9cc3b5135282a012e9587e5e6a1405f (commit)

commit b639067520e50dbafd93708dd3cb05995d3bc816
Author: André Stösel <andre at stoesel.de>
Date:   Wed Oct 12 18:11:54 2011 +0200

    Resize the history list treeview in GTK3, not the parent

 extensions/history-list.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/extensions/history-list.vala b/extensions/history-list.vala
index b86960d..c3d962a 100644
--- a/extensions/history-list.vala
+++ b/extensions/history-list.vala
@@ -133,8 +133,8 @@ namespace HistoryList {
             int max_lines = 10;
 #if HAVE_GTK3
             requisition = Requisition();
-            get_preferred_width(out requisition.width, null);
-            get_preferred_height(out requisition.height, null);
+            this.treeview.get_preferred_width(out requisition.width, null);
+            this.treeview.get_preferred_height(out requisition.height, null);
 #else
             this.treeview.size_request (out requisition);
 #endif


More information about the Xfce4-commits mailing list