mirror of https://github.com/GNOME/gimp.git
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:
parent
eb43addb66
commit
3819b86677
|
@ -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]
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue