glib/gobject
Ryan Lortie 58c247e51b GVariant: add g_variant_take_ref()
This function implements the following logic:

  if (g_variant_is_floating (value))
    g_variant_ref_sink (value);

which is used for consuming the return value of callbacks that may or
may not return floating references.

This patch also replaces a few instances of the above code with the new
function (GSettings, GDBus) and lifts a long-standing restriction on the
use of floating values as the return value for signal handlers by
improving g_value_take_variant().

https://bugzilla.gnome.org/show_bug.cgi?id=627974
2011-07-12 19:44:21 +02:00
..
2011-05-23 00:21:06 -04:00
2009-03-31 19:39:16 -04:00
2011-06-14 18:51:57 -04:00
2011-06-09 11:15:40 -04:00
2011-06-09 11:15:40 -04:00
2011-06-24 01:03:50 +02:00
2011-02-07 23:46:02 -05:00
2011-06-24 13:20:06 +02:00
2010-11-08 18:21:51 -05:00
2011-06-24 01:03:50 +02:00
2011-06-09 11:15:40 -04:00
2011-06-09 11:15:40 -04:00
2010-07-12 17:46:17 -04:00
2011-06-09 11:15:40 -04:00
2011-06-09 11:15:40 -04:00
2011-06-09 11:15:40 -04:00
2011-03-24 09:33:55 +01:00
2008-06-21 18:20:43 +00:00
2011-03-24 09:33:55 +01:00
2008-06-22 09:45:13 +00:00
2010-07-12 17:46:17 -04:00
2011-07-10 20:47:02 -04:00