2007-07-17 Mike Kestner <mkestner@novell.com>

* generator/CallbackGen.cs : make GError** signatures fatal to
	avoid compilation problem in gmime-sharp.

svn path=/trunk/gtk-sharp/; revision=82105
This commit is contained in:
Mike Kestner 2007-07-17 15:17:39 +00:00
parent ce3db510d7
commit d3996abfdb
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-07-17 Mike Kestner <mkestner@novell.com>
* generator/CallbackGen.cs : make GError** signatures fatal to
avoid compilation problem in gmime-sharp.
2007-07-12 Mike Kestner <mkestner@novell.com>
* generator/StructBase.cs : use typeof to pass type to PtrToStruct

View File

@ -168,7 +168,7 @@ namespace GtkSharp.Generation {
sw.WriteLine (invoke + ";");
sw.Write (cleanup_str);
bool fatal = (retval.MarshalType != "void" && retval.MarshalType != "bool") || has_out_params;
bool fatal = (retval.MarshalType != "void" && retval.MarshalType != "bool") || has_out_params || throws_error;
sw.WriteLine ("\t\t\t} catch (Exception e) {");
sw.WriteLine ("\t\t\t\tGLib.ExceptionManager.RaiseUnhandledException (e, " + (fatal ? "true" : "false") + ");");
if (fatal) {