Replace leftover gdk_colormap_lookup () by gdk_x11_colormap_foreign_new ()

* gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_get_colormap):
	Replace leftover gdk_colormap_lookup () by
	gdk_x11_colormap_foreign_new () to make the linker happy.
This commit is contained in:
Matthias Clasen
2002-09-24 21:58:09 +00:00
parent ad07608cc3
commit cdc7d97361
7 changed files with 38 additions and 1 deletions

View File

@ -203,7 +203,8 @@ gdk_window_impl_x11_get_colormap (GdkDrawable *drawable)
drawable_impl->xid,
&window_attributes);
drawable_impl->colormap =
gdk_colormap_lookup (window_attributes.colormap);
gdk_x11_colormap_foreign_new (gdk_drawable_get_visual (drawable),
window_attributes.colormap);
}
return drawable_impl->colormap;