mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-11-17 07:46:03 +00:00
mm-origin: Chain up to to parent's constructed() early
Not strictly needed here, because we don't depend on the parent being constructed but this is how it should generally be done.
This commit is contained in:
parent
2e43639d03
commit
e5780677f6
1 changed files with 2 additions and 1 deletions
|
@ -790,6 +790,8 @@ constructed (GObject *object)
|
||||||
CallsMMOrigin *self = CALLS_MM_ORIGIN (object);
|
CallsMMOrigin *self = CALLS_MM_ORIGIN (object);
|
||||||
MmGdbusModemVoice *gdbus_voice;
|
MmGdbusModemVoice *gdbus_voice;
|
||||||
|
|
||||||
|
G_OBJECT_CLASS (calls_mm_origin_parent_class)->constructed (object);
|
||||||
|
|
||||||
self->name = modem_get_name (mm_object_get_modem (self->mm_obj));
|
self->name = modem_get_name (mm_object_get_modem (self->mm_obj));
|
||||||
|
|
||||||
mm_modem_get_sim (mm_object_get_modem (self->mm_obj),
|
mm_modem_get_sim (mm_object_get_modem (self->mm_obj),
|
||||||
|
@ -815,7 +817,6 @@ constructed (GObject *object)
|
||||||
NULL,
|
NULL,
|
||||||
(GAsyncReadyCallback) list_calls_cb,
|
(GAsyncReadyCallback) list_calls_cb,
|
||||||
self);
|
self);
|
||||||
G_OBJECT_CLASS (calls_mm_origin_parent_class)->constructed (object);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue