Re: dragging bug caused by fix for GtkInvisible style attach leak
- From: Havoc Pennington <hp redhat com>
- To: Darin Adler <darin eazel com>
- Cc: Alexander Larsson <alla lysator liu se>, <gtk-devel-list gnome org>
- Subject: Re: dragging bug caused by fix for GtkInvisible style attach leak
- Date: 30 Dec 2000 10:44:56 -0500
Hi,
OK, I just applied this patch, seems to fix the crash I was seeing
with this (selections in the text widget).
Index: gdk/x11/gdkwindow-x11.c
===================================================================
RCS file: /cvs/gnome/gtk+/gdk/x11/gdkwindow-x11.c,v
retrieving revision 1.100
diff -u -u -r1.100 gdkwindow-x11.c
--- gdk/x11/gdkwindow-x11.c 2000/12/15 01:46:40 1.100
+++ gdk/x11/gdkwindow-x11.c 2000/12/30 15:44:25
@@ -482,7 +482,8 @@
private->depth = 0;
class = InputOnly;
private->input_only = TRUE;
- draw_impl->colormap = NULL;
+ draw_impl->colormap = gdk_colormap_get_system ();
+ gdk_colormap_ref (draw_impl->colormap);
}
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]