linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] linphone_gtk_init_ui() called twice on startup


From: Jonas Krautter
Subject: [Linphone-developers] linphone_gtk_init_ui() called twice on startup
Date: Sun, 16 Feb 2014 02:30:00 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

-----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-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]