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
This commit is contained in:
Manish Singh 1998-06-06 11:04:03 +00:00
parent eb43addb66
commit 3819b86677
4 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
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]

View File

@ -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;

View File

@ -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;

View File

@ -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;