After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 85697 - gdkx_colormap_get()
gdkx_colormap_get()
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: X11
2.0.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2002-06-17 19:42 UTC by Owen Taylor
Modified: 2011-02-04 16:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Owen Taylor 2002-06-17 19:42:08 UTC
We've had the comment:

/* XXX: Do not use this function until it is fixed. An X Colormap
 *      is useless unless we also have the visual. */
GdkColormap* gdkx_colormap_get (Colormap xcolormap);

Forever in gdkx.h. With the multihead changes, gdkx_colormap_get()
is just completely broken at present.

Probably we should do something like ENABLE_BROKEN this function,
and add a:

 gdk_x11_colormap_foreign_new (Display *display, Visual visual, Colormap
colormap);
Comment 1 Owen Taylor 2002-09-24 20:21:35 UTC
Tue Sep 24 16:04:44 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkx.h gdk/x11/gdkcolor-x11.c
        gdkscreen-x11.h: Add gdk_x11_colormap_foreign_new(),
        GDK_ENABLE_BROKEN gdkx_colormap_get(), make the
        colormap hash per-screen. (#85697)