diff options
author | Stefan Schmidt <stefan@datenfreihafen.org> | 2009-08-08 10:08:45 +0200 |
---|---|---|
committer | Stefan Schmidt <stefan@datenfreihafen.org> | 2009-08-08 10:08:45 +0200 |
commit | f77a615dee76f1c6d560b69ec8c1a245bd46f39c (patch) | |
tree | 8db0ff94871600fd03606f3cd41bd49a9b2d2bf8 /recipes/vala/files/static-dbus-methods.patch | |
parent | 076d31f2981d51b093d86b0751121fe1e10669b1 (diff) | |
parent | a702c1ad0559dd6712857e2e9a8ee82513814569 (diff) |
Merge branch 'org.openembedded.dev' of git@git.openembedded.org:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/vala/files/static-dbus-methods.patch')
-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 ()) { |