summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/analysis/scan/patterns/backends
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2023-05-22 20:56:32 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2023-05-22 20:56:32 (GMT)
commite1a2823b5d831349467d309ce42d56055ec9c04f (patch)
treebc4dd464d10cd379622ceb361398895d59849409 /plugins/pychrysalide/analysis/scan/patterns/backends
parent15fb909bdd8ca0f37dd71da7427ea6bc6bb71cbb (diff)
Rely on GObject-introspection implementation for some registrations.
Diffstat (limited to 'plugins/pychrysalide/analysis/scan/patterns/backends')
-rw-r--r--plugins/pychrysalide/analysis/scan/patterns/backends/acism.c2
-rw-r--r--plugins/pychrysalide/analysis/scan/patterns/backends/bitap.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/pychrysalide/analysis/scan/patterns/backends/acism.c b/plugins/pychrysalide/analysis/scan/patterns/backends/acism.c
index 63e653a..fe89507 100644
--- a/plugins/pychrysalide/analysis/scan/patterns/backends/acism.c
+++ b/plugins/pychrysalide/analysis/scan/patterns/backends/acism.c
@@ -159,7 +159,7 @@ bool ensure_python_acism_backend_is_registered(void)
if (!ensure_python_engine_backend_is_registered())
return false;
- if (!register_class_for_pygobject(dict, G_TYPE_ACISM_BACKEND, type, &PyGObject_Type))
+ if (!register_class_for_pygobject(dict, G_TYPE_ACISM_BACKEND, type))
return false;
}
diff --git a/plugins/pychrysalide/analysis/scan/patterns/backends/bitap.c b/plugins/pychrysalide/analysis/scan/patterns/backends/bitap.c
index f961bf7..5ceade8 100644
--- a/plugins/pychrysalide/analysis/scan/patterns/backends/bitap.c
+++ b/plugins/pychrysalide/analysis/scan/patterns/backends/bitap.c
@@ -159,7 +159,7 @@ bool ensure_python_bitap_backend_is_registered(void)
if (!ensure_python_engine_backend_is_registered())
return false;
- if (!register_class_for_pygobject(dict, G_TYPE_BITAP_BACKEND, type, &PyGObject_Type))
+ if (!register_class_for_pygobject(dict, G_TYPE_BITAP_BACKEND, type))
return false;
}