Commit 88fe2280 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Make it compile

parent 7e6f1345
......@@ -426,7 +426,8 @@ gdk_pixmap_foreign_new_for_screen (GdkScreen *screen,
pix_impl->height = height;
GDK_PIXMAP_OBJECT (pixmap)->depth = depth;
_gdk_xid_table_insert (display, &GDK_PIXMAP_XID (pixmap), pixmap);
_gdk_xid_table_insert (gdk_screen_get_display (screen),
&GDK_PIXMAP_XID (pixmap), pixmap);
return pixmap;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment