[gtk/testsuite-asserts: 6/13] Inspector: Fix a possible undefined use




commit ecfba2d31be97cd4d33f85f36cdac3f7df40b880
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Apr 12 20:56:19 2021 -0400

    Inspector: Fix a possible undefined use

 gtk/inspector/window.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gtk/inspector/window.c b/gtk/inspector/window.c
index 3f0d8c031d..1b4560e08e 100644
--- a/gtk/inspector/window.c
+++ b/gtk/inspector/window.c
@@ -903,6 +903,7 @@ update_go_buttons (GtkInspectorWindow *iw)
     {
       object = NULL;
       kind = CHILD_KIND_OTHER;
+      position = 0;
     }
 
   if (parent)


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