[gtk+/wip/matthiasc/gskpango] inspector: Fix a crash



commit 95f4f97740400b6f7c5bb53526aaff21dc9c2a46
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Aug 31 14:35:12 2017 -0400

    inspector: Fix a crash
    
    The inspector needs to know about all render node types.

 gtk/inspector/gtktreemodelrendernode.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/inspector/gtktreemodelrendernode.c b/gtk/inspector/gtktreemodelrendernode.c
index 63e3001..1697aaf 100644
--- a/gtk/inspector/gtktreemodelrendernode.c
+++ b/gtk/inspector/gtktreemodelrendernode.c
@@ -523,6 +523,7 @@ append_node (GtkTreeModelRenderNode *nodemodel,
       break;
 
     case GSK_CAIRO_NODE:
+    case GSK_TEXT_NODE:
     case GSK_TEXTURE_NODE:
     case GSK_COLOR_NODE:
     case GSK_LINEAR_GRADIENT_NODE:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]