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:
parent
1852fbf0f1
commit
5a35a7dcef
2 changed files with 7 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue