API: Remove colormap member from GdkWindowAttr

Also remove all code that cares about differing colormaps for child
windows.
This commit is contained in:
Benjamin Otte
2010-08-29 02:30:33 +02:00
parent eac72ec830
commit f08254074c
6 changed files with 35 additions and 128 deletions

View File

@ -487,16 +487,8 @@ _gdk_window_impl_new (GdkWindow *window,
private->input_only = FALSE;
if (attributes_mask & GDK_WA_COLORMAP)
{
draw_impl->colormap = attributes->colormap;
g_object_ref (attributes->colormap);
}
else
{
draw_impl->colormap = gdk_screen_get_system_colormap (_gdk_screen);
g_object_ref (draw_impl->colormap);
}
draw_impl->colormap = gdk_screen_get_system_colormap (_gdk_screen);
g_object_ref (draw_impl->colormap);
}
else
{