[sysprof/wip/gtk4-port: 65/132] diskstataid: port to GTK 4




commit 85c23f96946d04df957924064bf2d2aa57993a96
Author: Christian Hergert <chergert redhat com>
Date:   Fri Oct 1 10:21:05 2021 -0700

    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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]