glib/gio/gdbus-codegen
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
..
__init__.py gdbus-codegen: Add copyright / license headers 2011-04-15 08:33:30 -04:00
.gitignore Update .gitignores 2011-05-02 09:54:15 -04:00
codegen_docbook.py gdbus-codegen: Properly render @param and %TRUE in generated Docbook 2011-05-24 00:27:43 -04:00
codegen_main.py gdbus-codegen: Fix build 2011-06-09 11:53:08 -04:00
codegen.py GVariant: add g_variant_take_ref() 2011-07-12 19:44:21 +02:00
config.py.in gdbus-codegen: Add copyright / license headers 2011-04-15 08:33:30 -04:00
dbustypes.py gdbus-codegen: Generate GDBusObject{,Proxy,Skeleton} subtypes 2011-04-25 09:29:18 -04:00
gdbus-codegen.in gdbus-codegen: Add copyright / license headers 2011-04-15 08:33:30 -04:00
Makefile.am gdbus-codegen: Clean config.pyc to make distcheck happy 2011-06-07 14:17:11 -04:00
parser.py gdbus-codegen: Handle unexpected XML tags 2011-05-23 23:23:10 -04:00
utils.py gdbus-codegen: Generate docs when generating C code 2011-04-18 14:23:19 -04:00