Commit bb0446a0 authored by Committed by Owen TaylorBrowse files
Fixes for GdkColormapX11 (#100023, Naofumi Yasufuku)
Sun Dec 8 20:19:22 2002 Owen Taylor <firstname.lastname@example.org> Fixes for GdkColormapX11 (#100023, Naofumi Yasufuku) * gdk/x11/gdkcolor-x11.c (gdk_x11_colormap_foreign_new): Fix typo that caused us to always return the system colormap. * gdk/x11/gdkcolor-x11.c (gdk_colormap_new): When allocating a private colormap and copying the system palette to prevent flashing, handle colormap->size greater than system_colormap->size. * gdk/x11/gdkcolor-x11.c (gdk_x11_colormap_get_xdisplay): Get rid of the last remains of private->xdisplay in favor of using private->screen.
Showing with 113 additions and 8 deletions