[maemo-developers] [maemo-developers] Bug in Maemo's version of GTK-2.6 (Please nokia-devs look into this)

From: Tommi Komulainen tommi.komulainen at nokia.com
Date: Tue Nov 8 17:56:01 EET 2005
On Mon, 2005-11-07 at 18:03 +0000, ext Clemens Eisserer wrote:
> Hi there,
> 
> I think I've found a bug in Maemo's modified version of GTK-2.6.
> The version which is installed on my 770 (both the original version
> plus the latest update release)  says  that
> "gdk_rgb_get_visual()->depth" is 24 whereas the X-Server running on
> the Nokia770 does not support pixmaps in 24-bit color.

As you can successfully create 24bit pixmaps I think it's pretty safe to
say the server does in fact support 24bit pixmaps just fine.


> I found this problem while trying to port GNU Classpath's AWT/GTK
> peers to the Nokia770 (which would furthermore allow J2ME games to run
> on the 770) - the problem is not creating the pixmap in the depth
> returned but requesting the colormap of it - since the xserver does
> not support 24-bit pixmaps it simply fails.

The documentation for gdk_drawable_get_colormap() says:

> Gets the colormap for drawable, if one is set; returns NULL otherwise.
> 
> drawable :
> a GdkDrawable
> Returns :
> the colormap, or NULL

There is no mention that NULL would be an error of any kind, there just
isn't a colormap (explicitly) set for the drawable.

I'm just not seeing the problem here. There's
https://maemo.org/bugzilla/show_bug.cgi?id=179 but that seems different
still.


-- 
Tommi Komulainen                            <tommi.komulainen at nokia.com>


More information about the maemo-developers mailing list