mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-07 12:25: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)
|
||||
{
|
||||
CallsMMOrigin *self = CALLS_MM_ORIGIN (origin);
|
||||
MMCallProperties *call_props;
|
||||
g_autoptr (MMCallProperties) call_props = NULL;
|
||||
|
||||
g_assert (self->voice != NULL);
|
||||
|
||||
|
@ -338,8 +338,6 @@ dial (CallsOrigin *origin,
|
|||
NULL,
|
||||
(GAsyncReadyCallback) dial_cb,
|
||||
self);
|
||||
|
||||
g_object_unref (call_props);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue