[pygobject] Make warning a crtitical for unknown argument types
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] Make warning a crtitical for unknown argument types
- Date: Mon, 28 Mar 2022 05:01:10 +0000 (UTC)
commit 2d3324f409662895b60ce9a9ed10a3cd0aaa410e
Author: Arjan Molenaar <gaphor gmail com>
Date: Wed Aug 4 21:29:14 2021 +0200
Make warning a crtitical for unknown argument types
gi/pygi-object.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gi/pygi-object.c b/gi/pygi-object.c
index 1ceab24d..ec527f55 100644
--- a/gi/pygi-object.c
+++ b/gi/pygi-object.c
@@ -240,7 +240,7 @@ pygi_arg_gobject_to_py (GIArgument *arg, GITransfer transfer) {
/*steal=*/ transfer == GI_TRANSFER_EVERYTHING,
/*type=*/ NULL);
} else {
- g_warning("No means to translate argument or return value for '%s'",
g_type_name_from_instance(arg->v_pointer));
+ g_critical("No means to translate argument or return value for '%s'",
g_type_name_from_instance(arg->v_pointer));
pyobj = Py_None;
Py_INCREF (pyobj);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]