From: André Stösel Date: Wed, 12 Oct 2011 16:11:54 +0000 (+0200) Subject: Resize the history list treeview in GTK3, not the parent X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b639067520e50dbafd93708dd3cb05995d3bc816;p=midori Resize the history list treeview in GTK3, not the parent --- diff --git a/extensions/history-list.vala b/extensions/history-list.vala index b86960db..c3d962a6 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