diff options
author | Shawn O. Pearce <sop@google.com> | 2009-05-15 09:45:24 -0700 |
---|---|---|
committer | Shawn O. Pearce <sop@google.com> | 2009-05-15 09:45:24 -0700 |
commit | 9713f003e4320fe54736b8b4177bfc4b687b143e (patch) | |
tree | ac7bb668667c9cdee812a418e3524b55ce4e58ed | |
parent | 02ed182d3a81e768ca23f8cecfdd4a8fbfa30dec (diff) | |
download | gwtjsonrpc-9713f003e4320fe54736b8b4177bfc4b687b143e.tar.gz |
Fix CallbackHandle.nativeInstall reference to onResult
The parameter type changed, so the native reference must
also be updated to match.
Signed-off-by: Shawn O. Pearce <sop@google.com>
-rw-r--r-- | src/main/java/com/google/gwtjsonrpc/client/CallbackHandle.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/gwtjsonrpc/client/CallbackHandle.java b/src/main/java/com/google/gwtjsonrpc/client/CallbackHandle.java index ff4ff1e..6880622 100644 --- a/src/main/java/com/google/gwtjsonrpc/client/CallbackHandle.java +++ b/src/main/java/com/google/gwtjsonrpc/client/CallbackHandle.java @@ -143,5 +143,5 @@ public class CallbackHandle<R> { private static final native void nativeInstall(int funid, CallbackHandle<?> imp) - /*-{ $wnd.__gwtjsonrpc_callbackhandle[funid] = function(r) { imp.@com.google.gwtjsonrpc.client.CallbackHandle::onResult(Ljava/lang/Object;)({result:r}); }; }-*/; + /*-{ $wnd.__gwtjsonrpc_callbackhandle[funid] = function(r) { imp.@com.google.gwtjsonrpc.client.CallbackHandle::onResult(Lcom/google/gwt/core/client/JavaScriptObject;)({result:r}); }; }-*/; } |