summaryrefslogtreecommitdiff
path: root/gdk/gdkdnd.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@gtk.org>1998-05-13 05:11:42 +0000
committerOwen Taylor <otaylor@src.gnome.org>1998-05-13 05:11:42 +0000
commit40a521703d1e5c81dfaebafc341101ac4c373fcd (patch)
treeee45cd3f96e6d190d95b81519726661ce2da5a20 /gdk/gdkdnd.c
parent4283c9de4ff02e1e18aebb0dc6988d23bbd8c88c (diff)
downloadgdk-pixbuf-40a521703d1e5c81dfaebafc341101ac4c373fcd.tar.gz
A few more GPOINTER_TO_UINT fixes.
Wed May 13 00:53:52 1998 Owen Taylor <otaylor@gtk.org> * gtk/gtktypeutils.c gtk/gtksignal.c gdk/gdkdnd.c: A few more GPOINTER_TO_UINT fixes.
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 2dca54a8b..bfad16018 100644
--- a/gdk/gdkdnd.c
+++ b/gdk/gdkdnd.c
@@ -60,11 +60,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, (gpointer)(glong)((GdkWindowPrivate *)default_pixmapwin)->xwindow);
+ gdk_dnd.c->xids = g_list_append(gdk_dnd.c->xids, GUINT_TO_GPOINTER (((GdkWindowPrivate *)default_pixmapwin)->xwindow));
if(goahead_pixmapwin)
{
gdk_window_ref(goahead_pixmapwin);
- gdk_dnd.c->xids = g_list_append(gdk_dnd.c->xids, (gpointer)(glong)((GdkWindowPrivate *)goahead_pixmapwin)->xwindow);
+ gdk_dnd.c->xids = g_list_append(gdk_dnd.c->xids, GUINT_TO_GPOINTER (((GdkWindowPrivate *)goahead_pixmapwin)->xwindow));
gdk_dnd.c->drag_pm_ok = goahead_pixmapwin;
gdk_dnd.c->ok_hotspot = *goahead_hotspot;
}