summaryrefslogtreecommitdiff
path: root/src/gui/panels/symbols.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-07-12 22:26:49 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-07-12 22:26:49 (GMT)
commit7e1c5ac72a317d39952843239023c0fa506f2322 (patch)
tree206b4f7ca4165c22b796d90e3343f677296b0857 /src/gui/panels/symbols.c
parent254254db8c09eb4b4f8523e73551c13ec281d194 (diff)
Cleaned the code handling binary symbols.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@548 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gui/panels/symbols.c')
-rw-r--r--src/gui/panels/symbols.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/panels/symbols.c b/src/gui/panels/symbols.c
index 42098c8..9b32aa5 100644
--- a/src/gui/panels/symbols.c
+++ b/src/gui/panels/symbols.c
@@ -680,7 +680,7 @@ static void reload_symbols_for_new_list_view(GSymbolsPanel *panel)
gtk_tree_store_set(panel->store, &iter,
SBC_SYMBOL, symbols[i],
SBC_PICTURE, icon,
- SBC_NAME, g_binary_symbol_to_string(symbols[i]),
+ SBC_NAME, g_binary_symbol_get_label(symbols[i]),
SBC_ADDRESS, virt,
-1);
@@ -861,7 +861,7 @@ static void reload_symbols_for_new_tree_view(GSymbolsPanel *panel)
gtk_tree_store_set(panel->store, &iter,
SBC_SYMBOL, symbols[i],
SBC_PICTURE, icon,
- SBC_NAME, g_binary_symbol_to_string(symbols[i]),
+ SBC_NAME, g_binary_symbol_get_label(symbols[i]),
SBC_ADDRESS, virt,
-1);
@@ -1052,7 +1052,7 @@ static bool is_symbol_filtered(GSymbolsPanel *panel, const GBinSymbol *symbol)
if (panel->filter == NULL)
return false;
- ret = regexec(panel->filter, g_binary_symbol_to_string(symbol), 1, &match, 0);
+ ret = regexec(panel->filter, g_binary_symbol_get_label(symbol), 1, &match, 0);
if (ret == REG_NOMATCH)
return true;