[glib] gsettings test: stop testing long-deprecated API
- From: Ryan Lortie <desrt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gsettings test: stop testing long-deprecated API
- Date: Tue, 24 Jun 2014 18:18:46 +0000 (UTC)
commit f2ceb74e91e05e9556622bc2cde7ab57cbc30ea3
Author: Ryan Lortie <desrt desrt ca>
Date: Mon Jun 23 08:53:06 2014 -0400
gsettings test: stop testing long-deprecated API
We want to try taking this away now...
https://bugzilla.gnome.org/show_bug.cgi?id=732102
gio/tests/gsettings.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/tests/gsettings.c b/gio/tests/gsettings.c
index 3cd2303..4b20795 100644
--- a/gio/tests/gsettings.c
+++ b/gio/tests/gsettings.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]