Philipp Hörist pushed to branch reactions at gajim / gajim


Commits:
6703a5c6 by Philipp Hörist at 2024-05-18T21:59:53+02:00
fix: Ignore GTK warning

- - - - -


1 changed file:

- gajim/main.py


Changes:

=====================================
gajim/main.py
=====================================
@@ -9,6 +9,7 @@
 import signal
 import sqlite3
 import sys
+import warnings
 from ctypes import byref
 from ctypes import CDLL
 from ctypes import create_string_buffer
@@ -126,6 +127,9 @@ def sigint_cb(num: int, stack: FrameType | None) -> None:
     if sys.platform != 'win32':
         signal.signal(signal.SIGPIPE, signal.SIG_DFL)
 
+    # https://gitlab.gnome.org/GNOME/pygobject/-/issues/12
+    warnings.filterwarnings('ignore', '.*g_value_get_int.*G_VALUE_HOLDS_INT', 
Warning)
+
     application.run(sys.argv)
 
 



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/6703a5c65ac9a79a2412edaa0c8dda0ae2c97493

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/6703a5c65ac9a79a2412edaa0c8dda0ae2c97493
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to