diff options
author | Lillian Angel <langel@redhat.com> | 2006-07-28 20:48:41 +0000 |
---|---|---|
committer | Lillian Angel <langel@redhat.com> | 2006-07-28 20:48:41 +0000 |
commit | 7dc75abe247caed1c0de52de1a42a0fa9a007741 (patch) | |
tree | 3876b0e3dbe95c22201501a15ddbc06c34577b90 /native | |
parent | a94a56f8a6f4d271309b61987ccd670c6e077c64 (diff) | |
download | classpath-7dc75abe247caed1c0de52de1a42a0fa9a007741.tar.gz |
2006-07-28 Lillian Angel <langel@redhat.com>
* native/jni/gtk-peer/GtkDragSourceContextPeer.c:
Removed function declarations.
(connect_signals_for_widget): Removed implementation because
stub functions have been removed.
(drag_begin_cb): Removed function.
(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.
Diffstat (limited to 'native')
-rw-r--r-- | native/jni/gtk-peer/GtkDragSourceContextPeer.c | 75 |
1 files changed, 1 insertions, 74 deletions
diff --git a/native/jni/gtk-peer/GtkDragSourceContextPeer.c b/native/jni/gtk-peer/GtkDragSourceContextPeer.c index cff422617..62ffa1395 100644 --- a/native/jni/gtk-peer/GtkDragSourceContextPeer.c +++ b/native/jni/gtk-peer/GtkDragSourceContextPeer.c @@ -43,18 +43,6 @@ exception statement from your version. */ static GtkWidget * get_widget (GtkWidget *widget); static void connect_signals_for_widget (GtkWidget *widget); -static void drag_begin_cb (GtkWidget *w, GdkDragContext *dc, gpointer data); -static gboolean drag_motion_cb (GtkWidget *w, GdkDragContext *dc, - gint x, gint y, guint t, gpointer data); -static void drag_data_get_cb (GtkWidget *w, GdkDragContext *dc, GtkSelectionData - *selection_data, guint info, guint t, gpointer data); -static void drag_data_delete_cb (GtkWidget *w, GdkDragContext *dc, gpointer data); -static gboolean drag_drop_cb (GtkWidget *w, GdkDragContext *dc, gint x, - gint y, guint t, gpointer data); -static void drag_end_cb (GtkWidget *w, GdkDragContext *dc, gpointer data); -static void drag_data_received_cb (GtkWidget *w, GdkDragContext *dc, gint x, - gint y, GtkSelectionData *selection_data, - guint info, guint t, gpointer data); #define ACTION_COPY 1 #define ACTION_MOVE 2 @@ -244,69 +232,8 @@ Java_gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer_connectSignals static void connect_signals_for_widget (GtkWidget *w) { - g_signal_connect (G_OBJECT (w), "drag_motion", - G_CALLBACK (drag_motion_cb), *gref); - g_signal_connect (G_OBJECT (w), "drag_data_delete", - G_CALLBACK (drag_data_delete_cb), *gref); - g_signal_connect (G_OBJECT (w), "drag_end", - G_CALLBACK (drag_end_cb), *gref); - g_signal_connect (G_OBJECT (w), "drag_data_get", - G_CALLBACK (drag_data_get_cb), *gref); - g_signal_connect (G_OBJECT (w), "drag_data_received", - G_CALLBACK (drag_data_received_cb), *gref); - g_signal_connect (G_OBJECT (w), "drag_begin", - G_CALLBACK (drag_begin_cb), *gref); - g_signal_connect (G_OBJECT (w), "drag_drop", - G_CALLBACK (drag_drop_cb), *gref); -} - -static void -drag_begin_cb (GtkWidget *w, GdkDragContext *dc, gpointer data) -{ - /* FIXME: Not implemented. */ -} - -static gboolean -drag_motion_cb (GtkWidget *w, GdkDragContext *dc, - gint x, gint y, guint t, gpointer data) -{ - /* FIXME: Not implemented. */ - return 0; -} - -static void -drag_data_get_cb (GtkWidget *w, GdkDragContext *dc, GtkSelectionData - *selection_data, guint info, guint t, gpointer data) -{ - /* FIXME: Not implemented. */ -} - -static void -drag_data_delete_cb (GtkWidget *w, GdkDragContext *dc, gpointer data) -{ - /* FIXME: Not implemented. */ -} - -static gboolean -drag_drop_cb (GtkWidget *w, GdkDragContext *dc, gint x, - gint y, guint t, gpointer data) -{ - /* FIXME: Not implemented. */ - return 0; -} - -static void -drag_end_cb (GtkWidget *w, GdkDragContext *dc, gpointer data) -{ - /* FIXME: Not implemented. */ -} - -static void -drag_data_received_cb (GtkWidget *w, GdkDragContext *dc, gint x, - gint y, GtkSelectionData *selection_data, - guint info, guint t, gpointer data) -{ /* FIXME: Not implemented. */ + w = NULL; } JNIEXPORT void JNICALL |