From 9a8b6ec494c924028a9e4a550247ef72bd04d065 Mon Sep 17 00:00:00 2001 From: Lillian Angel Date: Fri, 28 Jul 2006 15:52:05 +0000 Subject: 2006-07-28 Lillian Angel * native/jni/gtk-peer/GtkDragSourceContextPeer.c: Added more static functions to handle widget signals. (create): Initialized the javaObj field. (connectSignals): Added code to connect all signals to the appropriate functions and initialized all java function fields. (drag_begin_cb): New callback, not implemented. (drag_motion_cb): Likewise. (drag_data_get_cb): Likewise. (drag_data_delete_cb): Likewise. (drag_drop_cb): Likewise. (drag_end_cb): Likewise. (drag_data_received_cb): Likewise. (setTarget): New function. (nativeStartDrag): Added code to set the destination and source widgets. * java/awt/dnd/DragSource.java (startDrag): Removed FIXME. * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized): Reset recognizer when events are fired. * java/awt/Component.java (setDropTarget): Added code to create the DropTargetContextPeer. * include/GtkDragSourceContextPeer.h: Regenerated. * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java: Removed file. * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java (GtkDropTargetContextPeer): Implemented. * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java (GtkDragSourceContextPeer): Added code to set the target. --- include/GtkDragSourceContextPeer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/GtkDragSourceContextPeer.h') diff --git a/include/GtkDragSourceContextPeer.h b/include/GtkDragSourceContextPeer.h index 4a43d811a..87606ec1a 100644 --- a/include/GtkDragSourceContextPeer.h +++ b/include/GtkDragSourceContextPeer.h @@ -14,7 +14,7 @@ JNIEXPORT void JNICALL Java_gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer_n JNIEXPORT void JNICALL Java_gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer_connectSignals (JNIEnv *env, jobject, jobject); JNIEXPORT void JNICALL Java_gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer_create (JNIEnv *env, jobject, jobject); JNIEXPORT void JNICALL Java_gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer_nativeSetCursor (JNIEnv *env, jobject, jint) ; - +JNIEXPORT void JNICALL Java_gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer_setTarget (JNIEnv *env, jobject, jobject); #ifdef __cplusplus } -- cgit v1.2.1