gsk: Improve debug output

If we don't have node names, we can still print class names.
This commit is contained in:
Matthias Clasen 2017-09-03 10:32:55 -04:00
parent eab50246e1
commit 8db13c3362

View File

@ -270,7 +270,7 @@ gsk_render_node_draw (GskRenderNode *node,
}
GSK_NOTE (CAIRO, g_print ("Rendering node %s[%p]\n",
node->name,
node->name ? node->name : node->node_class->type_name,
node));
node->node_class->draw (node, cr);