gsettings test: stop testing long-deprecated API
authorRyan Lortie <desrt@desrt.ca>
Mon, 23 Jun 2014 12:53:06 +0000 (08:53 -0400)
committerRyan Lortie <desrt@desrt.ca>
Tue, 24 Jun 2014 18:18:28 +0000 (14:18 -0400)
We want to try taking this away now...

https://bugzilla.gnome.org/show_bug.cgi?id=732102

gio/tests/gsettings.c

index 3cd2303..4b20795 100644 (file)
@@ -44,7 +44,7 @@ test_basic (void)
   settings = g_settings_new ("org.gtk.test");
 
   g_object_get (settings,
-                "schema", &str,
+                "schema-id", &str,
                 "backend", &b,
                 "path", &path,
                 "has-unapplied", &has_unapplied,
@@ -2399,7 +2399,7 @@ test_null_backend (void)
   backend = g_null_settings_backend_new ();
   settings = g_settings_new_with_backend_and_path ("org.gtk.test", backend, "/tests/");
 
-  g_object_get (settings, "schema", &str, NULL);
+  g_object_get (settings, "schema-id", &str, NULL);
   g_assert_cmpstr (str, ==, "org.gtk.test");
   g_free (str);