1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-06-28 14:49:30 +00:00

mm: origin: Don't shadow props variable

As caught by compiling with `'-Wshadow`
This commit is contained in:
Evangelos Ribeiro Tzaras 2021-06-02 20:46:17 +02:00
parent 521979ef69
commit 6c146897d4

View file

@ -323,21 +323,21 @@ static void
dial (CallsOrigin *origin, const gchar *number)
{
CallsMMOrigin *self = CALLS_MM_ORIGIN (origin);
MMCallProperties *props;
MMCallProperties *call_props;
g_assert (self->voice != NULL);
props = mm_call_properties_new();
mm_call_properties_set_number (props, number);
call_props = mm_call_properties_new ();
mm_call_properties_set_number (call_props, number);
mm_modem_voice_create_call
(self->voice,
props,
call_props,
NULL,
(GAsyncReadyCallback) dial_cb,
self);
g_object_unref (props);
g_object_unref (call_props);
}