mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-01 16:30:15 +00:00
inspector: Collect statistics for unclassable types
I want to know how many GskRenderNodes I have!
This commit is contained in:
parent
3741e6906e
commit
e02ff7c064
@ -130,14 +130,9 @@ update_type_counts (gpointer data)
|
||||
{
|
||||
GtkInspectorStatistics *sl = data;
|
||||
GType type;
|
||||
gpointer class;
|
||||
|
||||
for (type = G_TYPE_INTERFACE; type <= G_TYPE_FUNDAMENTAL_MAX; type += (1 << G_TYPE_FUNDAMENTAL_SHIFT))
|
||||
{
|
||||
class = g_type_class_peek (type);
|
||||
if (class == NULL)
|
||||
continue;
|
||||
|
||||
if (!G_TYPE_IS_INSTANTIATABLE (type))
|
||||
continue;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user