From 556799bc2a400c6ddc778527873cb54e4aaf7fc3 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Fri, 1 Oct 2021 10:21:05 -0700 Subject: [PATCH] diskstataid: port to GTK 4 --- src/libsysprof-ui/sysprof-diskstat-aid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsysprof-ui/sysprof-diskstat-aid.c b/src/libsysprof-ui/sysprof-diskstat-aid.c index c87cb3e7..614c0466 100644 --- a/src/libsysprof-ui/sysprof-diskstat-aid.c +++ b/src/libsysprof-ui/sysprof-diskstat-aid.c @@ -245,7 +245,7 @@ sysprof_diskstat_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;