From c04bac092910c7abb3ff328597c57cc204ba51a6 Mon Sep 17 00:00:00 2001 From: Michael 'Mickey' Lauer Date: Thu, 6 Aug 2009 17:10:35 +0200 Subject: vala: here comes 0.7.5+fso2 --- recipes/vala/files/static-dbus-methods.patch | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 recipes/vala/files/static-dbus-methods.patch (limited to 'recipes/vala/files') diff --git a/recipes/vala/files/static-dbus-methods.patch b/recipes/vala/files/static-dbus-methods.patch deleted file mode 100644 index 7bf4144860..0000000000 --- a/recipes/vala/files/static-dbus-methods.patch +++ /dev/null @@ -1,26 +0,0 @@ -From: Frederik Sdun -Hi, - -I figured out that vala generates wrong code on static methods. It tries -to add a user_data pointer, but then the C function has no void* -user_data. - -I appended a diff which fixes the problem for me. - -Regards, Frederik - -Index: vala/gobject/valadbusclientmodule.vala -=================================================================== ---- vala/gobject/valadbusclientmodule.vala (Revision 2430) -+++ vala/gobject/valadbusclientmodule.vala (Arbeitskopie) -@@ -133,7 +133,9 @@ - cend_call.add_argument (new CCodeIdentifier ("call")); - cend_call.add_argument (new CCodeUnaryExpression (CCodeUnaryOperator.ADDRESS_OF, new CCodeIdentifier ("error"))); - var creply_call = new CCodeFunctionCall ((CCodeExpression) callback.ccodenode); -- creply_call.add_argument (new CCodeIdentifier ("user_data")); -+ if( reply_method.binding != MemberBinding.STATIC ) { -+ creply_call.add_argument (new CCodeIdentifier ("user_data")); -+ } - int param_count = reply_method.get_parameters ().size; - int i = 0; - foreach (FormalParameter param in reply_method.get_parameters ()) { -- cgit v1.2.3