lib: remove unused includes
[babeltrace.git] / src / lib / graph / component-class.c
index 516c31f19ab1be814ca80688c87cca4b6a3df239..4c37e617a1ac6242cd9365578a55319d0b019731 100644 (file)
@@ -9,6 +9,7 @@
 #include "lib/logging.h"
 
 #include "common/assert.h"
+#include "common/common.h"
 #include "lib/assert-cond.h"
 #include "compat/compiler.h"
 #include <babeltrace2/graph/component-class.h>
@@ -39,7 +40,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.036331 seconds and 4 git commands to generate.