mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-07 20:35:31 +00:00
sip: provider: Use g_auto and GStrv
Instead of char** and g_strfreev()
This commit is contained in:
parent
d5bf31bdaf
commit
58331afcf7
1 changed files with 1 additions and 3 deletions
|
@ -91,7 +91,7 @@ calls_sip_provider_load_accounts (CallsSipProvider *self)
|
||||||
{
|
{
|
||||||
g_autoptr (GError) error = NULL;
|
g_autoptr (GError) error = NULL;
|
||||||
g_autoptr (GKeyFile) key_file = g_key_file_new ();
|
g_autoptr (GKeyFile) key_file = g_key_file_new ();
|
||||||
gchar **groups = NULL;
|
g_auto (GStrv) groups = NULL;
|
||||||
|
|
||||||
g_assert (CALLS_IS_SIP_PROVIDER (self));
|
g_assert (CALLS_IS_SIP_PROVIDER (self));
|
||||||
|
|
||||||
|
@ -118,8 +118,6 @@ calls_sip_provider_load_accounts (CallsSipProvider *self)
|
||||||
|
|
||||||
/* TODO rewrite */
|
/* TODO rewrite */
|
||||||
}
|
}
|
||||||
|
|
||||||
g_strfreev (groups);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue