GSettings test: fix unsafe GObject properties use
authorRyan Lortie <desrt@desrt.ca>
Mon, 4 Oct 2010 02:53:49 +0000 (22:53 -0400)
committerRyan Lortie <desrt@desrt.ca>
Mon, 4 Oct 2010 02:55:53 +0000 (22:55 -0400)
commit90822327acdcc0a10f0de41c591e4cee234811db
tree2497c5021809bb7e27e7611ed4c38521bc16ef93
parent2ce2d587edbeb98b355c4038c218d75a8c8f9c99
GSettings test: fix unsafe GObject properties use

The test case was passing a guint16 to g_object_get() for a guint
property.  That's invalid on all systems, although it works (more or
less) on little endian ones.  On big endian it's a total no-go.
gio/tests/gsettings.c