* 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:
parent
dd061f70b1
commit
f0f44bf010
2 changed files with 7 additions and 2 deletions
|
@ -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>
|
||||
|
||||
* glib/ObjectManager.cs, glue/type.c: If there isn't
|
||||
|
|
|
@ -27,10 +27,10 @@ namespace GLib {
|
|||
}
|
||||
|
||||
[DllImport("glib-2.0")]
|
||||
static extern void g_clear_error (IntPtr errptr);
|
||||
static extern void g_clear_error (ref IntPtr errptr);
|
||||
~GException ()
|
||||
{
|
||||
g_clear_error (errptr);
|
||||
g_clear_error (ref errptr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue