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




commit 3e8d8e6d34566fe43cea281054074a4c8461a0bb
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]