2005-09-19 Tambet Ingo <tambet@ximian.com>

* glib/Opaque.cs: Set owned property in any case. Generated code
        will set owned to false after unref.


svn path=/trunk/gtk-sharp/; revision=50309
This commit is contained in:
Tambet Ingo 2005-09-20 16:32:43 +00:00
parent 1852fbf0f1
commit 5a35a7dcef
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2005-09-19 Tambet Ingo <tambet@ximian.com>
* glib/Opaque.cs: Set owned property in any case. Generated code
will set owned to false after unref.
2005-09-15 Mike Kestner <mkestner@novell.com>
* configure.in.in : make gtkhtml-3.8 check >= 3.8.0.

View file

@ -69,8 +69,8 @@ namespace GLib {
if (opaque.owned) {
// The constructor took a Ref it shouldn't have, so undo it
opaque.Unref (o);
} else
opaque.owned = true;
}
opaque.owned = true;
}
return opaque;
}