mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-08 04:45:31 +00:00
mm-origin: Prefer g_autoptr instead of explicit reference counting
This commit is contained in:
parent
f09852bc19
commit
0232430ae1
1 changed files with 1 additions and 3 deletions
|
@ -326,7 +326,7 @@ dial (CallsOrigin *origin,
|
||||||
const char *number)
|
const char *number)
|
||||||
{
|
{
|
||||||
CallsMMOrigin *self = CALLS_MM_ORIGIN (origin);
|
CallsMMOrigin *self = CALLS_MM_ORIGIN (origin);
|
||||||
MMCallProperties *call_props;
|
g_autoptr (MMCallProperties) call_props = NULL;
|
||||||
|
|
||||||
g_assert (self->voice != NULL);
|
g_assert (self->voice != NULL);
|
||||||
|
|
||||||
|
@ -338,8 +338,6 @@ dial (CallsOrigin *origin,
|
||||||
NULL,
|
NULL,
|
||||||
(GAsyncReadyCallback) dial_cb,
|
(GAsyncReadyCallback) dial_cb,
|
||||||
self);
|
self);
|
||||||
|
|
||||||
g_object_unref (call_props);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue