[maemo-commits] [maemo-commits] r17973 - in projects/haf/branches/gtk+/rgba-ng: . gtk
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Thu Apr 2 10:09:13 EEST 2009
- Previous message: [maemo-commits] r17972 - in projects/haf/branches/gtk+/rgba-ng: . gdk
- Next message: [maemo-commits] r17974 - in projects/haf/trunk/libmatchbox2: . debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: herzi Date: 2009-04-02 10:09:10 +0300 (Thu, 02 Apr 2009) New Revision: 17973 Modified: projects/haf/branches/gtk+/rgba-ng/ChangeLog projects/haf/branches/gtk+/rgba-ng/gtk/gtktextview.c Log: 2009-04-02 Sven Herzberg <herzi at lanedo.com> Fixes: NB#89864 - RGBA support * gtk/gtktextview.c (text_window_realize): this patch lets parts of the tree view always render using an RGB colormap Modified: projects/haf/branches/gtk+/rgba-ng/ChangeLog =================================================================== --- projects/haf/branches/gtk+/rgba-ng/ChangeLog 2009-04-02 07:08:59 UTC (rev 17972) +++ projects/haf/branches/gtk+/rgba-ng/ChangeLog 2009-04-02 07:09:10 UTC (rev 17973) @@ -1,3 +1,10 @@ +2009-04-02 Sven Herzberg <herzi at lanedo.com> + + Fixes: NB#89864 - RGBA support + + * gtk/gtktextview.c (text_window_realize): this patch lets parts of + the tree view always render using an RGB colormap + 2009-03-24 Sven Herzberg <herzi at lanedo.com> Added Tim's rendering approach, too Modified: projects/haf/branches/gtk+/rgba-ng/gtk/gtktextview.c =================================================================== --- projects/haf/branches/gtk+/rgba-ng/gtk/gtktextview.c 2009-04-02 07:08:59 UTC (rev 17972) +++ projects/haf/branches/gtk+/rgba-ng/gtk/gtktextview.c 2009-04-02 07:09:10 UTC (rev 17973) @@ -7968,6 +7968,10 @@ attributes.x = 0; attributes.y = 0; +#ifdef MAEMO_CHANGES + attributes.colormap = gdk_screen_get_rgb_colormap (gtk_widget_get_screen (win->widget)); + attributes.visual = gdk_colormap_get_visual (attributes.colormap); +#endif attributes.width = win->allocation.width; attributes.height = win->allocation.height; attributes.event_mask = (GDK_EXPOSURE_MASK |
- Previous message: [maemo-commits] r17972 - in projects/haf/branches/gtk+/rgba-ng: . gdk
- Next message: [maemo-commits] r17974 - in projects/haf/trunk/libmatchbox2: . debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]