[sysprof/wip/gtk4-port: 58/125] diskstataid: port to GTK 4




commit 13f3346c178b633c83831a0184ed96b761e3682b
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]