mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
gsettings test: stop testing long-deprecated API
We want to try taking this away now... https://bugzilla.gnome.org/show_bug.cgi?id=732102
This commit is contained in:
parent
753e6ef7d7
commit
f2ceb74e91
@ -44,7 +44,7 @@ test_basic (void)
|
|||||||
settings = g_settings_new ("org.gtk.test");
|
settings = g_settings_new ("org.gtk.test");
|
||||||
|
|
||||||
g_object_get (settings,
|
g_object_get (settings,
|
||||||
"schema", &str,
|
"schema-id", &str,
|
||||||
"backend", &b,
|
"backend", &b,
|
||||||
"path", &path,
|
"path", &path,
|
||||||
"has-unapplied", &has_unapplied,
|
"has-unapplied", &has_unapplied,
|
||||||
@ -2399,7 +2399,7 @@ test_null_backend (void)
|
|||||||
backend = g_null_settings_backend_new ();
|
backend = g_null_settings_backend_new ();
|
||||||
settings = g_settings_new_with_backend_and_path ("org.gtk.test", backend, "/tests/");
|
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_assert_cmpstr (str, ==, "org.gtk.test");
|
||||||
g_free (str);
|
g_free (str);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user