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



commit d97eaf36a5ef6b732a9c4ee3ae6936f52d4658f9
Author: Christian Hergert <chergert redhat com>
Date:   Fri Oct 1 10:50:43 2021 -0700

    raplaid: port to GTK 4

 src/libsysprof-ui/sysprof-rapl-aid.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libsysprof-ui/sysprof-rapl-aid.c b/src/libsysprof-ui/sysprof-rapl-aid.c
index c5d11e61..0102a1ef 100644
--- a/src/libsysprof-ui/sysprof-rapl-aid.c
+++ b/src/libsysprof-ui/sysprof-rapl-aid.c
@@ -227,7 +227,7 @@ sysprof_rapl_aid_present_finish (SysprofAid    *aid,
       if (found > 0)
         sysprof_display_add_group (present->display, energy);
       else
-        gtk_widget_destroy (GTK_WIDGET (energy));
+        g_object_unref (energy);
     }
 
   return counters != NULL;


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