summaryrefslogtreecommitdiff
path: root/gtk/gtkdnd.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-01-17 20:05:08 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-01-17 20:05:08 +0000
commit2a1e8b06b48864348d8539cb6bc9e20867a437fa (patch)
treeddce28b5e29b5597920696b32760fcb4da17aecf /gtk/gtkdnd.h
parent2c41cf90587bb624a58e0ba523adfb6a17f3acec (diff)
downloadgtk+-2a1e8b06b48864348d8539cb6bc9e20867a437fa.tar.gz
Remove unused variable.
Tue Jan 9 11:20:48 2001 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkdnd-x11.c: Remove unused variable. * gtk/gtkdnd.c: Encapsulate storing and retrieving info structures in functions. Fixes bug where gtk_dataset_* was accidentally still being used in one place, causing every dest side event to be treated independently. * gtk/gtkdnd.c: Remove last vestages of handling ::draw (fixes warning) * gtk/gtkentry.[ch]: Add drag and drop support. * gtk/gtkdnd.[ch] gtk/gtktextview.c gtk/gtkentry.c: Add new function gtk_check_drag_threshhold() for checking to check if (dx,dy) has exceeded the threshhold for starting a drag and use it everywhere.
Diffstat (limited to 'gtk/gtkdnd.h')
-rw-r--r--gtk/gtkdnd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkdnd.h b/gtk/gtkdnd.h
index 84e7da2c52..e1c23b942b 100644
--- a/gtk/gtkdnd.h
+++ b/gtk/gtkdnd.h
@@ -131,6 +131,12 @@ void gtk_drag_set_default_icon (GdkColormap *colormap,
gint hot_y);
+gboolean gtk_drag_check_threshold (GtkWidget *widget,
+ gint start_x,
+ gint start_y,
+ gint current_x,
+ gint current_y);
+
/* Internal functions */
void gtk_drag_source_handle_event (GtkWidget *widget,
GdkEvent *event);