diff options
Diffstat (limited to 'src/gui/panels')
-rw-r--r-- | src/gui/panels/strings.c | 2 | ||||
-rw-r--r-- | src/gui/panels/symbols.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/panels/strings.c b/src/gui/panels/strings.c index 825c510..7996553 100644 --- a/src/gui/panels/strings.c +++ b/src/gui/panels/strings.c @@ -687,7 +687,7 @@ static void on_string_value_edited(GtkCellRendererText *renderer, gchar *path, g gtk_tree_model_get(GTK_TREE_MODEL(store), &iter, STC_STRING, &symbol, -1); - g_binary_symbol_set_label(symbol, new); + g_binary_symbol_set_alt_label(symbol, new); g_object_unref(G_OBJECT(symbol)); 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; |