common: introduce bt_g_array_index
[babeltrace.git] / src / lib / graph / graph.c
index d07762494966daaf7df3053abdf3216b7e3626cb..08d8846dcf79f467c204f0fdc08651ed5031cbd8 100644 (file)
@@ -929,7 +929,7 @@ enum bt_graph_listener_func_status bt_graph_notify_port_added(
 
        for (i = 0; i < listeners->len; i++) {
                struct bt_graph_listener_port_added *listener =
-                       &g_array_index(listeners,
+                       &bt_g_array_index(listeners,
                                struct bt_graph_listener_port_added, i);
 
 
This page took 0.022679 seconds and 4 git commands to generate.