From 5f63a1b85931401a5bcb9bdab59a46b72e654f7b Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Fri, 1 Oct 2021 10:21:13 -0700 Subject: [PATCH] netdevaid: port to GTK 4 --- src/libsysprof-ui/sysprof-netdev-aid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsysprof-ui/sysprof-netdev-aid.c b/src/libsysprof-ui/sysprof-netdev-aid.c index c6970fd2..7de8dc21 100644 --- a/src/libsysprof-ui/sysprof-netdev-aid.c +++ b/src/libsysprof-ui/sysprof-netdev-aid.c @@ -242,7 +242,7 @@ sysprof_netdev_aid_present_finish (SysprofAid *aid, if (counters->len > 0) sysprof_display_add_group (present->display, group); else - gtk_widget_destroy (GTK_WIDGET (group)); + g_object_unref (group); } return counters != NULL;