From 0f13a66762c29b9cee1618b3dd1e0a30e1656dae Mon Sep 17 00:00:00 2001 From: Bertrand Lorentz Date: Mon, 12 Nov 2012 20:25:42 +0100 Subject: [PATCH] gio: Enable the GSocketFamily enum with hardcoded values The values found by the parser for the GSocketFamily enum are in fact constants defined in another header file, so the generated code would be invalid. We now hardcode the values through fix-ups. They probably don't change, and they are also hardcoded in the gir file anyway, so it should be OK. Also fix-up a GInetAddress constructor that now gets generated. --- gio/Gio.metadata | 6 +++++- gio/gio.csproj | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gio/Gio.metadata b/gio/Gio.metadata index 19db8bbc1..4ee4d7b9b 100644 --- a/gio/Gio.metadata +++ b/gio/Gio.metadata @@ -34,6 +34,10 @@ CancelAllJobs PushJob GioGlobal + 0 + 1 + 2 + 10 1 1 1 @@ -105,6 +109,7 @@ SetAttributeInt GetAttributeUInt SetAttributeUInt + 1 guchar* 1 guchar* @@ -154,7 +159,6 @@ /api/namespace/struct[@cname='GIOSchedulerJob'] /api/namespace/struct[@cname='GIOSchedulerJob'] - diff --git a/gio/gio.csproj b/gio/gio.csproj index 6ff03c3bf..201d5d010 100644 --- a/gio/gio.csproj +++ b/gio/gio.csproj @@ -365,6 +365,7 @@ +