Ryan Lortie 2ce2d587ed GVariant: avoid byteswapping in some cases
Make g_variant_byteswap() merely return a new reference on the given
value in the event that we know that byteswapping will have no effect
(ie: types which have no alignment requirement).

This fixes a somewhat complicated interaction between GVariant,
GSettings and GVDB on big endian machines:  GSettings assumes that it
can unref values returned from GVDB without losing access to the
underlying data.  This only works if the underlying data is in the
mapped file -- not a freshly-allocated buffer that GVariant byteswapped
into.
2010-10-03 22:55:39 -04:00
..
2010-07-12 15:33:05 -04:00
2010-07-12 15:33:05 -04:00
2010-08-08 23:55:11 -04:00
2010-09-05 00:23:03 -04:00
2010-09-05 00:23:03 -04:00
2010-09-03 19:34:28 -04:00
2010-09-03 19:34:28 -04:00
2010-07-07 19:34:35 -04:00
2010-01-30 12:32:37 -05:00
2010-08-03 10:25:54 -04:00
2010-07-10 23:56:45 -04:00
2010-07-07 19:34:35 -04:00
2010-09-03 19:38:56 -04:00
2010-09-03 19:38:56 -04:00
2010-09-03 19:49:34 -04:00
2010-07-07 19:34:35 -04:00
2010-06-23 22:32:35 -04:00
2010-08-08 23:55:11 -04:00
2010-09-05 00:23:03 -04:00
2009-05-23 17:52:58 +02:00
2009-09-04 22:45:07 +02:00
2010-09-03 23:03:14 -04:00
2010-09-20 22:51:26 -04:00
2010-07-07 19:34:35 -04:00
2010-05-08 21:30:27 -04:00
2010-06-15 16:06:18 +01:00
2010-07-07 19:34:35 -04:00
2010-02-04 00:12:50 +02:00
2010-08-24 22:48:15 +01:00
2010-09-03 20:57:05 -04:00
2010-04-23 15:26:49 +01:00
2010-07-07 19:34:35 -04:00
2010-09-01 09:48:16 +02:00
2010-09-01 09:48:16 +02:00
2010-09-03 20:51:08 -04:00
2009-06-27 11:03:47 +03:00
2010-09-03 20:46:40 -04:00
2010-07-08 19:26:25 -04:00
2010-02-21 17:59:15 -05:00
2010-07-07 19:34:35 -04:00
2010-09-13 16:52:51 +02:00
2010-07-10 23:56:45 -04:00
2010-09-03 20:41:52 -04:00
2010-09-05 00:23:03 -04:00
2010-09-03 23:03:14 -04:00
2010-09-03 20:55:17 -04:00
2010-08-08 23:55:11 -04:00
2010-07-07 19:34:35 -04:00
2010-06-23 22:32:35 -04:00
2010-09-03 20:27:45 -04:00
2010-09-03 20:15:16 -04:00
2010-03-30 20:46:46 +03:00
2010-09-03 23:03:14 -04:00
2010-09-03 20:34:15 -04:00
2010-08-26 00:16:30 -04:00
2010-07-12 16:56:52 -04:00
2010-07-12 16:56:52 -04:00
2010-07-13 11:59:16 -04:00
2010-09-03 23:03:14 -04:00
2010-01-28 12:40:46 -05:00
2010-09-03 20:05:27 -04:00
2009-11-30 19:53:30 -05:00
2010-09-03 20:38:30 -04:00
2010-09-03 20:38:30 -04:00
2010-06-20 01:14:55 -04:00
2010-09-05 00:23:03 -04:00
2010-07-07 19:34:35 -04:00
2010-09-04 17:22:18 +01:00
2010-09-15 11:21:44 -04:00
2010-02-10 11:35:01 -05:00
2010-07-07 19:34:35 -04:00
2010-09-11 12:08:32 +03:00