From b639067520e50dbafd93708dd3cb05995d3bc816 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20St=C3=B6sel?= Date: Wed, 12 Oct 2011 18:11:54 +0200 Subject: [PATCH] Resize the history list treeview in GTK3, not the parent --- extensions/history-list.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5