[gtk/wip/matthiasc/css-values: 25/31] testsuite: Include change in css style tests



commit 3dfe42954712315d37041d947c4793b80a1ff235
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Jan 13 19:24:53 2020 -0500

    testsuite: Include change in css style tests
    
    This will help debugging css change tracking.

 testsuite/css/style/test-css-style.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/testsuite/css/style/test-css-style.c b/testsuite/css/style/test-css-style.c
index fd998472bf..5be302d6b1 100644
--- a/testsuite/css/style/test-css-style.c
+++ b/testsuite/css/style/test-css-style.c
@@ -128,6 +128,7 @@ load_ui_file (GFile *file, gboolean generate)
   context = gtk_widget_get_style_context (window);
 
   output = gtk_style_context_to_string (context, GTK_STYLE_CONTEXT_PRINT_RECURSE |
+                                                 GTK_STYLE_CONTEXT_PRINT_SHOW_CHANGE |
                                                  GTK_STYLE_CONTEXT_PRINT_SHOW_STYLE);
 
   if (generate)
@@ -270,6 +271,7 @@ main (int argc, char **argv)
           load_ui_file (file, TRUE);
 
           g_object_unref (file);
+          return 0;
         }
     }
   else


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