]> spindle.queued.net Git - midori/commitdiff
Resize the history list treeview in GTK3, not the parent
authorAndré Stösel <andre@stoesel.de>
Wed, 12 Oct 2011 16:11:54 +0000 (18:11 +0200)
committerChristian Dywan <christian@twotoasts.de>
Thu, 13 Oct 2011 16:31:51 +0000 (18:31 +0200)
extensions/history-list.vala

index b86960db53e6c417e9686575d753fbbf75096642..c3d962a64880303493f777665dccf6452c8f123f 100644 (file)
@@ -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