[libhandy] header-group: add weak reference instead of removing it
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libhandy] header-group: add weak reference instead of removing it
- Date: Tue, 6 Oct 2020 08:32:16 +0000 (UTC)
commit 923b226ec817c78758158256361296e6c838fd27
Author: Julian Sparber <julian sparber net>
Date: Mon Oct 5 15:29:42 2020 +0200
header-group: add weak reference instead of removing it
Fix: https://gitlab.gnome.org/GNOME/libhandy/-/issues/305
src/hdy-header-group.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/hdy-header-group.c b/src/hdy-header-group.c
index e8287fad..ce155df1 100644
--- a/src/hdy-header-group.c
+++ b/src/hdy-header-group.c
@@ -230,7 +230,7 @@ hdy_header_group_child_new_for_header_group (HdyHeaderGroup *header_group)
self->type = HDY_HEADER_GROUP_CHILD_TYPE_HEADER_GROUP;
self->object = G_OBJECT (header_group);
- g_object_weak_unref (G_OBJECT (header_group), (GWeakNotify) object_destroyed_cb, self);
+ g_object_weak_ref (G_OBJECT (header_group), (GWeakNotify) object_destroyed_cb, self);
g_signal_connect_swapped (header_group, "update-decoration-layouts", G_CALLBACK
(forward_update_decoration_layouts), self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]