core: fix warning about MMModemTime interface initialization
The MMModemTime interface was getting initialized more than once.
This commit is contained in:
@@ -119,6 +119,7 @@ mm_modem_time_init (gpointer g_iface)
|
|||||||
|
|
||||||
if (initialized)
|
if (initialized)
|
||||||
return;
|
return;
|
||||||
|
initialized = TRUE;
|
||||||
|
|
||||||
g_object_interface_install_property
|
g_object_interface_install_property
|
||||||
(g_iface,
|
(g_iface,
|
||||||
|
Reference in New Issue
Block a user