diff options
author | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2009-08-06 17:10:35 +0200 |
---|---|---|
committer | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2009-08-06 17:10:35 +0200 |
commit | c04bac092910c7abb3ff328597c57cc204ba51a6 (patch) | |
tree | 8ecc2aa7b36ceabbc3bb89ff85888e72eb9b0c38 /recipes/vala/files | |
parent | 905127e8ef0c2a53015d5ab26147d2eff6ee038b (diff) |
vala: here comes 0.7.5+fso2
Diffstat (limited to 'recipes/vala/files')
-rw-r--r-- | recipes/vala/files/static-dbus-methods.patch | 26 |
1 files changed, 0 insertions, 26 deletions
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 <frederik.sdun@googlemail.com> -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 ()) { |