summaryrefslogtreecommitdiff
path: root/gdk/gdkdnd.c
diff options
context:
space:
mode:
authorOwen Taylor <owt1@cornell.edu>1998-03-11 22:49:40 +0000
committerOwen Taylor <otaylor@src.gnome.org>1998-03-11 22:49:40 +0000
commit48a15b7349af2e5ac62005f5bddd915fce6d6853 (patch)
treee343b470986dcd71ad8d62d6b59d10c87de4e50c /gdk/gdkdnd.c
parent59436967d5d15cf5639333a3fddd2183cbf60693 (diff)
downloadgdk-pixbuf-48a15b7349af2e5ac62005f5bddd915fce6d6853.tar.gz
Various minor cleanups related to -W
Tue Mar 10 23:02:42 1998 Owen Taylor <owt1@cornell.edu> * gdk/gdkdnd.c gtk/gtkclist.c gtk/gtksignal.c gtk/testgtk.c: Various minor cleanups related to -W
Diffstat (limited to 'gdk/gdkdnd.c')
-rw-r--r--gdk/gdkdnd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/gdkdnd.c b/gdk/gdkdnd.c
index 0b1c256b8..be84e6dbf 100644
--- a/gdk/gdkdnd.c
+++ b/gdk/gdkdnd.c
@@ -54,11 +54,11 @@ gdk_dnd_set_drag_shape(GdkWindow *default_pixmapwin,
gdk_window_ref(default_pixmapwin);
gdk_dnd.c->drag_pm_default = default_pixmapwin;
gdk_dnd.c->default_hotspot = *default_hotspot;
- gdk_dnd.c->xids = g_list_append(gdk_dnd.c->xids, ((GdkWindowPrivate *)default_pixmapwin)->xwindow);
+ gdk_dnd.c->xids = g_list_append(gdk_dnd.c->xids, (gpointer)(glong)((GdkWindowPrivate *)default_pixmapwin)->xwindow);
if(goahead_pixmapwin)
{
gdk_window_ref(goahead_pixmapwin);
- gdk_dnd.c->xids = g_list_append(gdk_dnd.c->xids, ((GdkWindowPrivate *)goahead_pixmapwin)->xwindow);
+ gdk_dnd.c->xids = g_list_append(gdk_dnd.c->xids, (gpointer)(glong)((GdkWindowPrivate *)goahead_pixmapwin)->xwindow);
gdk_dnd.c->drag_pm_ok = goahead_pixmapwin;
gdk_dnd.c->ok_hotspot = *goahead_hotspot;
}