aboutsummaryrefslogtreecommitdiff
path: root/liblogdiag/ld-library.c
diff options
context:
space:
mode:
Diffstat (limited to 'liblogdiag/ld-library.c')
-rw-r--r--liblogdiag/ld-library.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/liblogdiag/ld-library.c b/liblogdiag/ld-library.c
index f68a55e..31f3855 100644
--- a/liblogdiag/ld-library.c
+++ b/liblogdiag/ld-library.c
@@ -216,7 +216,7 @@ load_category_cb (const gchar *base, const gchar *path, gpointer userdata)
cat = load_category (data->self, path, base);
if (cat)
{
- ld_symbol_category_insert_subcategory (data->cat, cat, -1);
+ ld_symbol_category_add_child (data->cat, cat);
g_object_unref (cat);
}
}
@@ -368,7 +368,7 @@ ld_library_find_symbol (LdLibrary *self, const gchar *identifier)
{
gboolean found = FALSE;
- list = ld_symbol_category_get_subcategories (cat);
+ list = ld_symbol_category_get_children (cat);
for (list_el = list; list_el; list_el = g_slist_next (list_el))
{
cat = LD_SYMBOL_CATEGORY (list_el->data);