diff options
author | Arjan Molenaar <gaphor@gmail.com> | 2021-08-04 21:29:14 +0200 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2022-03-28 06:47:29 +0200 |
commit | 2d3324f409662895b60ce9a9ed10a3cd0aaa410e (patch) | |
tree | 181072dc612249719aaff9d598cfe59b6856e486 | |
parent | 066223dab7b9c10543d88cb04c64f76fe4d7815d (diff) | |
download | pygobject-2d3324f409662895b60ce9a9ed10a3cd0aaa410e.tar.gz |
Make warning a crtitical for unknown argument types
-rw-r--r-- | gi/pygi-object.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |