raplaid: port to GTK 4

This commit is contained in:
Christian Hergert
2021-10-01 10:50:43 -07:00
parent 939449e5ff
commit b81457c0ea

View File

@ -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;