gobject-introspection r689 - in trunk: . girepository tools
- From: tko svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r689 - in trunk: . girepository tools
- Date: Sun, 12 Oct 2008 21:07:28 +0000 (UTC)
Author: tko
Date: Sun Oct 12 21:07:28 2008
New Revision: 689
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=689&view=rev
Log:
2008-10-12 Tommi Komulainen <tommi komulainen iki fi>
* girepository/girparser.c (parse_param_transfer):
* tools/generate.c (write_callable_info): use "container" for
container/shallow ownership transfer (not "shallow")
Modified:
trunk/ChangeLog
trunk/girepository/girparser.c
trunk/tools/generate.c
Modified: trunk/girepository/girparser.c
==============================================================================
--- trunk/girepository/girparser.c (original)
+++ trunk/girepository/girparser.c Sun Oct 12 21:07:28 2008
@@ -666,7 +666,7 @@
param->transfer = FALSE;
param->shallow_transfer = FALSE;
}
- else if (transfer && strcmp (transfer, "shallow") == 0)
+ else if (transfer && strcmp (transfer, "container") == 0)
{
param->transfer = FALSE;
param->shallow_transfer = TRUE;
Modified: trunk/tools/generate.c
==============================================================================
--- trunk/tools/generate.c (original)
+++ trunk/tools/generate.c Sun Oct 12 21:07:28 2008
@@ -246,7 +246,7 @@
case GI_TRANSFER_NOTHING:
break;
case GI_TRANSFER_CONTAINER:
- g_fprintf (file, " transfer=\"shallow\"");
+ g_fprintf (file, " transfer=\"container\"");
break;
case GI_TRANSFER_EVERYTHING:
g_fprintf (file, " transfer=\"full\"");
@@ -287,7 +287,7 @@
case GI_TRANSFER_NOTHING:
break;
case GI_TRANSFER_CONTAINER:
- g_fprintf (file, " transfer=\"shallow\"");
+ g_fprintf (file, " transfer=\"container\"");
break;
case GI_TRANSFER_EVERYTHING:
g_fprintf (file, " transfer=\"full\"");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]