mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-05 19:15:32 +00:00
sip-provider: Chain up to constructed early
This commit is contained in:
parent
243753d064
commit
94cfbd83b2
1 changed files with 4 additions and 5 deletions
|
@ -487,8 +487,10 @@ static void
|
|||
calls_sip_provider_constructed (GObject *object)
|
||||
{
|
||||
CallsSipProvider *self = CALLS_SIP_PROVIDER (object);
|
||||
|
||||
g_autoptr (GError) error = NULL;
|
||||
|
||||
G_OBJECT_CLASS (calls_sip_provider_parent_class)->constructed (object);
|
||||
|
||||
if (calls_sip_provider_init_sofia (self, &error)) {
|
||||
if (!self->use_memory_backend) {
|
||||
g_autoptr (GKeyFile) key_file = g_key_file_new ();
|
||||
|
@ -500,7 +502,7 @@ calls_sip_provider_constructed (GObject *object)
|
|||
else
|
||||
g_warning ("Error loading keyfile '%s': %s", self->filename, error->message);
|
||||
|
||||
goto out;
|
||||
return;
|
||||
}
|
||||
|
||||
calls_sip_provider_load_accounts (self, key_file);
|
||||
|
@ -509,9 +511,6 @@ calls_sip_provider_constructed (GObject *object)
|
|||
g_warning ("Could not initialize sofia stack: %s", error->message);
|
||||
}
|
||||
|
||||
out:
|
||||
|
||||
G_OBJECT_CLASS (calls_sip_provider_parent_class)->constructed (object);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue