summaryrefslogtreecommitdiff
path: root/gdk/gdkdnd.c
diff options
context:
space:
mode:
authorOwen Taylor <owt1@cornell.edu>1998-03-02 23:16:39 +0000
committerOwen Taylor <otaylor@src.gnome.org>1998-03-02 23:16:39 +0000
commit395ccd366abb57002d770fd905cb22dee14abc1e (patch)
treeed26427e9d56afa03ee417209a0e21ce6166f23b /gdk/gdkdnd.c
parent336228180258d0deb4804f33f0a2a281fe20a3d2 (diff)
downloadgtk+-395ccd366abb57002d770fd905cb22dee14abc1e.tar.gz
Miscellaneous minor fixes to remove ANSI C incompatibilities
Mon Mar 2 17:48:38 1998 Owen Taylor <owt1@cornell.edu> Miscellaneous minor fixes to remove ANSI C incompatibilities * gdk/gdkregion.c gtk/gtkclist.c: fix // comments * gdk/gdkdnd.c gdk/gdkinputcommon.h: change types of some arguments to ANSI functions * gtk/gtkcombo.c gtk/gtktree.c: fix casts of function pointers to void * * gtk/gtkmain.c: An actual bug! (in deprecated gtk_input_add_interp) * gtk/gtknotebook.h: Bitfields must be gint or guint. (and should be guint) * gtk/gtkstatusbar.c: trailing ';' * gtk/testgtk.c: GList where there should have been GSList * glib.h gutils.c : changed g_strcasecmp to take gchar* not guchar* * testglib.c: Remove trailing ; after functions
Diffstat (limited to 'gdk/gdkdnd.c')
-rw-r--r--gdk/gdkdnd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdk/gdkdnd.c b/gdk/gdkdnd.c
index 4f38fd94f0..28900bbf5d 100644
--- a/gdk/gdkdnd.c
+++ b/gdk/gdkdnd.c
@@ -86,6 +86,7 @@ gdk_dnd_display_drag_cursor(gint x, gint y, gboolean drag_ok,
GdkWindow *mypix, *opix;
GdkPoint *myhotspot;
gint itmp;
+ guint masktmp;
Window wtmp;
if(x == -2 && y == -2) /* Hide the cursors */
@@ -97,7 +98,7 @@ gdk_dnd_display_drag_cursor(gint x, gint y, gboolean drag_ok,
if(x == -1 && y == -1) /* We're supposed to find it out for ourselves */
XQueryPointer(gdk_display, gdk_root_window,
- &wtmp, &wtmp, &x, &y, &itmp, &itmp, &itmp);
+ &wtmp, &wtmp, &x, &y, &itmp, &itmp, &masktmp);
if(drag_ok)
{