|
From: | Simon MORLAT |
Subject: | Re: [Linphone-developers] linphone_gtk_init_ui() called twice on startup |
Date: | Tue, 18 Feb 2014 10:39:21 +0100 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Good evening linphone-developers,
I discovered, that the linphone_gtk_init_ui() function is called twice
on startup in the current git version of linphone, causing (probably
among other things) the tray icon to be created twice.
It is called in gtk/main.c:1377 when the application's state changes:
case LinphoneGlobalOn:
linphone_gtk_init_ui();
and also in gtk/main.c:2292 in the main()-function itself:
if (linphone_core_get_global_state(the_core)==LinphoneGlobalOn)
linphone_gtk_init_ui();
Removing the second call (gtk/main.c:2292) solved the problem.
Greetings from Germany,
Jonas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBAgAGBQJTABSXAAoJECiaB/nW8WNNAq8P/ArZIg529NKMTecKUnXrHvWK
Oqx9quajgfikXtrg1rkk87d3CIBNq+ymFiDFmNhrWZq/56ddbhjpteKp3vJgD4an
N5eMNr8DustbD4vwjmADo6T0Gm2n0ilsnjGFfA6eiZoopUIt/RpZZ73Cwrw9uwrk
Gz/LmsOQQu9Hx353x/aX3EfJPWVK5/l8YlLAgRQdtEw0PvrhL9dlhB1N5c2OBfiT
FcrwpLr/N49ciN5ocBkBlReguoX7KXOMM7ZxCvZT81ch88pc4B3seT2UHWu8y8hp
qkwbYb9tpt/w95Jk55GaLlGXvXg5QvO1eZLNFOf+dA2qxZxESN8w1LK4dbpYhZeH
MpQJNdwGRpn5p9RDDcOULyAst91/NSiH1JJgpSRFxdZj5YWEQZCHmD+MnWvlKUKM
nNYzN//RyRLi15q6GVFj1zwpK5vVk0pVO3HKtGt0tC1eP1ALE9DC7VYs2pJawZBf
RPzF0U3eJlCEOZshhJHO4f4PUrHvPUhf9Yz5N503nORTbmkeXpJm/5vMHGNIaPCJ
AwmCd08Ki5BikLbEycnUbLT5jvBnN7kOd2ZSpVxVUrZEC4vkz3eenYvFTgutw7Dq
0CjXCZKvXmkb2TVSTXt5R/VEZZetSvVNPo+Avk9ETTbAM3MCDCciBhJjPefUep/W
5qrKftfXELypwiqAsLFy
=ptf+
-----END PGP SIGNATURE-----
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
[Prev in Thread] | Current Thread | [Next in Thread] |