mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Use a uint64 to unpack a 64 bit value
https://bugzilla.gnome.org/show_bug.cgi?id=769089
This commit is contained in:
parent
f414cddc1f
commit
38317cf746
@ -1186,9 +1186,9 @@ test_simple_binding (void)
|
||||
g_assert_cmpuint (g_settings_get_uint64 (settings, "uint64"), ==, 12345);
|
||||
|
||||
g_settings_set_uint64 (settings, "uint64", 54321);
|
||||
u = 1111;
|
||||
g_object_get (obj, "uint64", &u, NULL);
|
||||
g_assert_cmpuint (u, ==, 54321);
|
||||
u64 = 1111;
|
||||
g_object_get (obj, "uint64", &u64, NULL);
|
||||
g_assert_cmpuint (u64, ==, 54321);
|
||||
|
||||
g_settings_bind (settings, "int64", obj, "int64", G_SETTINGS_BIND_DEFAULT);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user