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:
parent
690ac121e9
commit
1e734dbbff
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue