Commit 2fa59370 authored by Committed by Arturo Espinosa
The commit to the stable branch is on its way...
1998-05-11 Federico Mena Quintero <email@example.com> * gtk/gtkpreview.c (gtk_preview_realize): Create the window using GtkPreview's visual and colormap, otherwise things can BadMatch. * gtk/testgtk.c (create_color_preview): (create_gray_preview): Removed pushing/popping of visual/colormap now that GtkPreview does things correctly. * gtk/gtkcolorsel.c (gtk_color_selection_draw_wheel_frame): (gtk_color_selection_draw_wheel): Pick the style from the correct place (the colorsel->wheel_area widget) so that the GCs will match with where we are going to paint to. * gtk/testgtk.c (create_color_selection): Removed pushing/popping of visual/colormap now that GtkColorSelection does things the right way.
Showing with 130 additions and 42 deletions