lib: make public reference count functions have strict types
[babeltrace.git] / python-plugin-provider / python-plugin-provider.c
index 11fae9329e12172c668838d112bb6ccbe3b36d8f..1eb1fa34182d95c539b06797c7e8da39c7f1e053 100644 (file)
@@ -29,7 +29,6 @@
 
 #include <babeltrace/babeltrace-internal.h>
 #include <babeltrace/compiler-internal.h>
-#include <babeltrace/object.h>
 #include <babeltrace/plugin/plugin-const.h>
 #include <babeltrace/plugin/plugin-internal.h>
 #include <babeltrace/graph/component-class.h>
@@ -495,7 +494,7 @@ error:
        BT_OBJECT_PUT_REF_AND_RESET(plugin_set);
 
 end:
-       bt_object_put_ref(plugin);
+       bt_plugin_put_ref(plugin);
        Py_XDECREF(py_plugin_info);
        g_free(basename);
        return plugin_set;
This page took 0.02254 seconds and 4 git commands to generate.