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 536498 - Deprecate gdk_rgb_get_colormap
Deprecate gdk_rgb_get_colormap
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Backend: X11
2.13.x
Other Linux
: Normal minor
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2008-06-03 20:25 UTC by Matthew Barnes
Modified: 2010-08-11 03:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthew Barnes 2008-06-03 20:25:12 UTC
Based on it's documentation, it sounds like gdk_rgb_get_colormap() should be deprecated and eventually removed for GTK 3.0.

    Get the preferred colormap for rendering image data. Not a very useful
    function; historically, GDK could only render RGB image data to one
    colormap and visual, but in the current version it can render to any
    colormap and visual. So there's no need to call this function.
Comment 1 Christian Dywan 2009-10-07 00:44:02 UTC
This is already done, albeit in a patch on a different bug:

https://bugzilla.gnome.org/attachment.cgi?id=117067

gdk_screen_get_rgb_colormap
gdk_screen_get_rgb_visual
gdk_rgb_get_colormap
gdk_rgb_get_visual
gdk_rgb_colormap_ditherable
gdk_rgb_ditherable

All these functions are actually deprecated with the note "The functionality is
obsolete." because the current documentation already explains that they are not
useful anymore.

See bug 547920.
Comment 2 Matthias Clasen 2010-08-11 03:58:43 UTC
GdkRGB is gone in gtk3