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

mm-origin: Prefer g_autoptr instead of explicit reference counting

This commit is contained in:
Evangelos Ribeiro Tzaras 2023-01-18 19:52:18 +01:00
parent f09852bc19
commit 0232430ae1

View file

@ -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);
}