inspector: Collect statistics for unclassable types

I want to know how many GskRenderNodes I have!
This commit is contained in:
Benjamin Otte 2016-11-01 18:31:13 +01:00
parent 3741e6906e
commit e02ff7c064

View File

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