[gtk+] css parser test: Drop remaining made-up properties



commit 31f319d1c767ce9ea7b5df7e8bb0efa60eeab1be
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Dec 21 14:53:09 2015 -0500

    css parser test: Drop remaining made-up properties
    
    These are not used anymore in any tests, and the css parser
    doesn't support parsing custom properties anymore.

 testsuite/css/parser/test-css-parser.c |   29 -----------------------------
 1 files changed, 0 insertions(+), 29 deletions(-)
---
diff --git a/testsuite/css/parser/test-css-parser.c b/testsuite/css/parser/test-css-parser.c
index b480abc..632fb74 100644
--- a/testsuite/css/parser/test-css-parser.c
+++ b/testsuite/css/parser/test-css-parser.c
@@ -300,35 +300,6 @@ main (int argc, char **argv)
 {
   gtk_test_init (&argc, &argv);
 
-  G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
-  /* Add a bunch of properties so we can test that we parse them properly */
-  gtk_style_properties_register_property (NULL,
-                                          g_param_spec_int ("int-property",
-                                                            "int property",
-                                                            "test int properties",
-                                                            G_MININT, G_MAXINT, 0,
-                                                            G_PARAM_READABLE));
-  gtk_style_properties_register_property (NULL,
-                                          g_param_spec_uint ("uint-property",
-                                                             "uint property",
-                                                             "test uint properties",
-                                                             0, G_MAXUINT, 0,
-                                                             G_PARAM_READABLE));
-  gtk_style_properties_register_property (NULL,
-                                          g_param_spec_string ("string-property",
-                                                               "string property",
-                                                               "test string properties",
-                                                               NULL,
-                                                               G_PARAM_READABLE));
-  gtk_style_properties_register_property (NULL,
-                                          g_param_spec_enum ("enum-property",
-                                                             "enum property",
-                                                             "test enum properties",
-                                                             GTK_TYPE_SHADOW_TYPE,
-                                                             0,
-                                                             G_PARAM_READABLE));
-  G_GNUC_END_IGNORE_DEPRECATIONS;
-
   if (argc < 2)
     {
       const char *basedir;


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