1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-13 16:07:36 +00:00

notifier: Chain up to parents constructed() before doing anything else

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:
Evangelos Ribeiro Tzaras 2022-02-17 16:31:08 +01:00
parent 690ac121e9
commit 1e734dbbff

View file

@ -146,6 +146,8 @@ calls_notifier_constructed (GObject *object)
GList *c;
CallsNotifier *self = CALLS_NOTIFIER (object);
G_OBJECT_CLASS (calls_notifier_parent_class)->constructed (object);
g_signal_connect_swapped (calls_manager_get_default (),
"ui-call-added",
G_CALLBACK (call_added_cb),
@ -156,8 +158,6 @@ calls_notifier_constructed (GObject *object)
{
call_added_cb (self, c->data);
}
G_OBJECT_CLASS (calls_notifier_parent_class)->constructed (object);
}