[sysprof/wip/gtk4-port] netdevaid: port to GTK 4



commit 34bafdeadb5176ff5eb70374861d9fd3bd732e7a
Author: Christian Hergert <chergert redhat com>
Date:   Fri Oct 1 10:21:13 2021 -0700

    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;


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