mm: origin: Don't shadow props variable
As caught by compiling with `'-Wshadow`
This commit is contained in:
@@ -323,21 +323,21 @@ static void
|
|||||||
dial (CallsOrigin *origin, const gchar *number)
|
dial (CallsOrigin *origin, const gchar *number)
|
||||||
{
|
{
|
||||||
CallsMMOrigin *self = CALLS_MM_ORIGIN (origin);
|
CallsMMOrigin *self = CALLS_MM_ORIGIN (origin);
|
||||||
MMCallProperties *props;
|
MMCallProperties *call_props;
|
||||||
|
|
||||||
g_assert (self->voice != NULL);
|
g_assert (self->voice != NULL);
|
||||||
|
|
||||||
props = mm_call_properties_new();
|
call_props = mm_call_properties_new ();
|
||||||
mm_call_properties_set_number (props, number);
|
mm_call_properties_set_number (call_props, number);
|
||||||
|
|
||||||
mm_modem_voice_create_call
|
mm_modem_voice_create_call
|
||||||
(self->voice,
|
(self->voice,
|
||||||
props,
|
call_props,
|
||||||
NULL,
|
NULL,
|
||||||
(GAsyncReadyCallback) dial_cb,
|
(GAsyncReadyCallback) dial_cb,
|
||||||
self);
|
self);
|
||||||
|
|
||||||
g_object_unref (props);
|
g_object_unref (call_props);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user