ports/x11/mono-gtk2/patches/patch-gdk_glue_windowmanager_c

12 lines
400 B
Text

Index: gdk/glue/windowmanager.c
--- gdk/glue/windowmanager.c.orig
+++ gdk/glue/windowmanager.c
@@ -110,7 +110,7 @@ gtksharp_get_gdk_net_client_list (int *count)
list = g_malloc (*count * sizeof (gpointer));
/* Put all of the windows into a GList to return */
for (i = 0; i < *count; i ++) {
- list [i] = data [i];
+ list [i] = (gpointer) data [i];
g_message ("WinID: %d", list [i]);
}