[gimp] Disable RGBA colormaps in offscreen widgets for now because they crash
- From: Michael Natterer <mitch src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp] Disable RGBA colormaps in offscreen widgets for now because they crash
- Date: Mon, 19 Oct 2009 09:04:27 +0000 (UTC)
commit db896708f3503c6985aeee51ed38ef0f071b1eca
Author: Michael Natterer <mitch gimp org>
Date: Mon Oct 19 11:03:23 2009 +0200
Disable RGBA colormaps in offscreen widgets for now because they crash
app/widgets/gimptooloverlay.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/app/widgets/gimptooloverlay.c b/app/widgets/gimptooloverlay.c
index 44a4566..9b03e15 100644
--- a/app/widgets/gimptooloverlay.c
+++ b/app/widgets/gimptooloverlay.c
@@ -112,11 +112,16 @@ static void
gimp_tool_overlay_init (GimpToolOverlay *overlay)
{
GtkWidget *widget = GTK_WIDGET (overlay);
+
+#if 0 /* crashes badly beause gtk+ doesn't support offscreen windows
+ * with colormap != parent_colormap yet
+ */
GdkScreen *screen = gtk_widget_get_screen (widget);
GdkColormap *rgba = gdk_screen_get_rgba_colormap (screen);
if (rgba)
gtk_widget_set_colormap (widget, rgba);
+#endif
gtk_widget_set_app_paintable (widget, TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]