--- gtkselection.c	2004-04-25 04:31:22.000000000 +1000
+++ gtkselection2.c	2004-04-25 04:31:11.000000000 +1000
@@ -716,6 +716,7 @@
     {
       GtkWidget *owner_widget;
       GtkSelectionData selection_data;
+      gpointer powner_widget;
       
       selection_data.selection = selection;
       selection_data.target = target;
@@ -723,7 +724,9 @@
       selection_data.length = -1;
       selection_data.display = display;
       
-      gdk_window_get_user_data (owner_window, (gpointer *)&owner_widget);
+      gdk_window_get_user_data (owner_window, (gpointer *)&powner_widget);
+
+      owner_widget = (GtkWidget*)&powner_widget;
       
       if (owner_widget != NULL)
 	{
