[gtk+] snapshot: push/pop mismatch is critical



commit 2e9ff11c85eea672b573d60173e0a7193a8471d0
Author: Benjamin Otte <otte redhat com>
Date:   Tue Nov 15 22:39:05 2016 +0100

    snapshot: push/pop mismatch is critical
    
    This is broken code that needs to be fixed right now.

 gtk/gtksnapshot.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtksnapshot.c b/gtk/gtksnapshot.c
index aacb24f..c1f77d0 100644
--- a/gtk/gtksnapshot.c
+++ b/gtk/gtksnapshot.c
@@ -182,7 +182,7 @@ gtk_snapshot_append_node (GtkSnapshot   *state,
     state->root = gsk_render_node_ref (node);
   else
     {
-      g_warning ("Tried appending a node to an already finished snapshot.");
+      g_critical ("Tried appending a node to an already finished snapshot.");
     }
 }
 


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