mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-05 19:15:32 +00:00
call-holder: Fix widget references
The display and selector item have floating references when created, not normal references. Therefore we need to sink both floating references.
This commit is contained in:
parent
903782d90d
commit
e88156380e
1 changed files with 3 additions and 0 deletions
|
@ -97,8 +97,11 @@ set_call (CallsCallHolder *self, CallsCall *call)
|
|||
g_object_unref (party);
|
||||
|
||||
self->display = calls_call_display_new (self->data);
|
||||
g_object_ref_sink (self->display);
|
||||
|
||||
self->selector_item =
|
||||
calls_call_selector_item_new (self);
|
||||
g_object_ref_sink (self->selector_item);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue