* glib/GException.cs: g_clear_error takes

a GError **, not a GError *.  Added refs to get the **.

svn path=/trunk/gtk-sharp/; revision=8026
This commit is contained in:
Vladimir Vukicevic 2002-10-06 02:12:04 +00:00
parent dd061f70b1
commit f0f44bf010
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2002-10-05 Vladimir Vukicevic <vladimir@pobox.com>
* glib/GException.cs: g_clear_error takes
a GError **, not a GError *. Added refs to get the **.
2002-10-04 Vladimir Vukicevic <vladimir@pobox.com> 2002-10-04 Vladimir Vukicevic <vladimir@pobox.com>
* glib/ObjectManager.cs, glue/type.c: If there isn't * glib/ObjectManager.cs, glue/type.c: If there isn't

View File

@ -27,10 +27,10 @@ namespace GLib {
} }
[DllImport("glib-2.0")] [DllImport("glib-2.0")]
static extern void g_clear_error (IntPtr errptr); static extern void g_clear_error (ref IntPtr errptr);
~GException () ~GException ()
{ {
g_clear_error (errptr); g_clear_error (ref errptr);
} }
} }
} }