summaryrefslogtreecommitdiff
path: root/src/gui/panels/symbols.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/panels/symbols.c')
-rw-r--r--src/gui/panels/symbols.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/panels/symbols.c b/src/gui/panels/symbols.c
index 4f92f1c..c106881 100644
--- a/src/gui/panels/symbols.c
+++ b/src/gui/panels/symbols.c
@@ -608,7 +608,7 @@ static void change_symbols_panel_current_binary(GSymbolsPanel *panel, GLoadedBin
reorganize_symbols_tree_view(NULL, G_OBJECT(G_EDITOR_ITEM(panel)->widget));
}
- gtk_widget_size_request(GTK_WIDGET(panel->treeview), &req);
+ gtk_widget_get_preferred_size(GTK_WIDGET(panel->treeview), NULL, &req);
gtk_widget_set_size_request(GTK_WIDGET(panel->treeview), req.width, req.height);
}