initialize threads in GObject.
This commit is contained in:
parent
516f27e95e
commit
d9b067615a
1 changed files with 1 additions and 0 deletions
|
@ -193,6 +193,7 @@ if os.name == 'nt':
|
||||||
warnings.filterwarnings('error', module='gtk')
|
warnings.filterwarnings('error', module='gtk')
|
||||||
try:
|
try:
|
||||||
from gi.repository import GObject
|
from gi.repository import GObject
|
||||||
|
GObject.threads_init()
|
||||||
GObject.set_prgname('gajim')
|
GObject.set_prgname('gajim')
|
||||||
from gi.repository import Gtk
|
from gi.repository import Gtk
|
||||||
from gi.repository import Gdk
|
from gi.repository import Gdk
|
||||||
|
|
Loading…
Add table
Reference in a new issue