Commit 3819b866 authored by Manish Singh's avatar Manish Singh

Something is really broke here. GdkImages of type GDK_IMAGE_NORMAL crash

on gdk_image_destroy(). I've changed the code in interface.c to workaround
this (so gimp at least starts) but the text tool is still broken, as well
as many of the plugins.

What niggles me is that I can't find anything in glib or gdk that could
explain this (diffing against the stable branch, where everything works).
I dunno, maybe I'm looking over something obvious...

I'd like to know what data this problem started happening... anyone?

-Yosh
parent eb43addb
Sat Jun 6 04:00:04 PDT 1998 Manish Singh <yosh@gimp.org>
* app/interface.c: changed GDK_IMAGE_NORMAL to GDK_IMAGE_SHARED
to workaround gtk bug
Fri Jun 5 22:37:40 1998 Owen Taylor <otaylor@gtk.org>
* app/Makefile.am app/app_procs.c app/brushes.c app/commands.[ch]
......
......@@ -446,7 +446,7 @@ create_pixmap (GdkWindow *parent, GdkBitmap **mask,
visual = gdk_window_get_visual (parent);
cmap = gdk_window_get_colormap (parent);
image = gdk_image_new (GDK_IMAGE_NORMAL, visual, width, height);
image = gdk_image_new (GDK_IMAGE_SHARED, visual, width, height);
pixmap = gdk_pixmap_new (parent, width, height, -1);
gc = NULL;
......
......@@ -446,7 +446,7 @@ create_pixmap (GdkWindow *parent, GdkBitmap **mask,
visual = gdk_window_get_visual (parent);
cmap = gdk_window_get_colormap (parent);
image = gdk_image_new (GDK_IMAGE_NORMAL, visual, width, height);
image = gdk_image_new (GDK_IMAGE_SHARED, visual, width, height);
pixmap = gdk_pixmap_new (parent, width, height, -1);
gc = NULL;
......
......@@ -446,7 +446,7 @@ create_pixmap (GdkWindow *parent, GdkBitmap **mask,
visual = gdk_window_get_visual (parent);
cmap = gdk_window_get_colormap (parent);
image = gdk_image_new (GDK_IMAGE_NORMAL, visual, width, height);
image = gdk_image_new (GDK_IMAGE_SHARED, visual, width, height);
pixmap = gdk_pixmap_new (parent, width, height, -1);
gc = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment