Bug 557241 – "throws" flag for functions
[gnome.gobject-introspection] / girepository / ginfo.c
index c165ade..fc265ad 100644 (file)
@@ -492,6 +492,9 @@ g_function_info_get_flags (GIFunctionInfo *info)
   if (blob->wraps_vfunc)
     flags = flags | GI_FUNCTION_WRAPS_VFUNC;
 
+  if (blob->throws)
+    flags = flags | GI_FUNCTION_THROWS;
+
   return flags;
 }