common: introduce bt_g_array_index
[babeltrace.git] / src / lib / graph / component-class.c
index 516c31f19ab1be814ca80688c87cca4b6a3df239..ae3e68715cfccec7754dcdbc0976607d713a5878 100644 (file)
@@ -39,7 +39,7 @@ void destroy_component_class(struct bt_object *obj)
        if (class->destroy_listeners) {
                for (i = class->destroy_listeners->len - 1; i >= 0; i--) {
                        struct bt_component_class_destroy_listener *listener =
-                               &g_array_index(class->destroy_listeners,
+                               &bt_g_array_index(class->destroy_listeners,
                                        struct bt_component_class_destroy_listener,
                                        i);
 
This page took 0.022684 seconds and 4 git commands to generate.