use "transfer-ownership" attribute for return values
authorTommi Komulainen <tommi.komulainen@iki.fi>
Sun, 12 Oct 2008 21:07:44 +0000 (21:07 +0000)
committerTommi Komulainen <tko@src.gnome.org>
Sun, 12 Oct 2008 21:07:44 +0000 (21:07 +0000)
2008-10-12  Tommi Komulainen  <tommi.komulainen@iki.fi>

* tools/generate.c (write_callable_info): use "transfer-ownership"
attribute for return values

svn path=/trunk/; revision=692

ChangeLog
tools/generate.c

index 400c374cba1d542a873605846b9e52ecc6652a97..67cdcfb922156aba30f9dcdb3b0263ab62f2a411 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,11 @@
        * girepository/gtypelib.c: Fix inverted test for success
        in version parsing.
 
+2008-10-12  Tommi Komulainen  <tommi.komulainen@iki.fi>
+
+       * tools/generate.c (write_callable_info): use "transfer-ownership"
+       attribute for return values
+
 2008-10-12  Tommi Komulainen  <tommi.komulainen@iki.fi>
 
        * tools/generate.c (write_callable_info): move "transfer" and
index 04cb87c4fb5f665f83226c868909b2a51b6b4ca6..224d2b40f31283f26df1e33c33ae1b2d3da72f7f 100644 (file)
@@ -250,10 +250,10 @@ write_callable_info (const gchar    *namespace,
        case GI_TRANSFER_NOTHING:
          break;
        case GI_TRANSFER_CONTAINER:
-         g_fprintf (file, " transfer=\"container\"");
+         g_fprintf (file, " transfer-ownership=\"container\"");
          break;
        case GI_TRANSFER_EVERYTHING:
-         g_fprintf (file, " transfer=\"full\"");
+         g_fprintf (file, " transfer-ownership=\"full\"");
          break;
        default:
          g_assert_not_reached ();