Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 300158 Details for
Bug 440340
X colourmap is mistakenly free for shared foreign GdkColormap objects
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Prevent X colormap being free'd when created via gdk_x11_colormap_foreign_new
gtk+-2.12.8-colormap-foreign.patch (text/plain), 1.00 KB, created by
Daniel Berrangé
on 2008-04-03 02:28:05 UTC
(
hide
)
Description:
Prevent X colormap being free'd when created via gdk_x11_colormap_foreign_new
Filename:
MIME Type:
Creator:
Daniel Berrangé
Created:
2008-04-03 02:28:05 UTC
Size:
1.00 KB
patch
obsolete
>diff -rup gtk+-2.12.8.orig/gdk/x11/gdkcolor-x11.c gtk+-2.12.8.new/gdk/x11/gdkcolor-x11.c >--- gtk+-2.12.8.orig/gdk/x11/gdkcolor-x11.c 2008-02-12 12:57:43.000000000 -0500 >+++ gtk+-2.12.8.new/gdk/x11/gdkcolor-x11.c 2008-04-02 22:02:07.000000000 -0400 >@@ -46,7 +46,7 @@ struct _GdkColormapPrivateX11 > GdkColorInfo *info; > time_t last_sync_time; > >- guint foreign : 1; >+ gboolean foreign; > }; > > #define GDK_COLORMAP_PRIVATE_DATA(cmap) ((GdkColormapPrivateX11 *) GDK_COLORMAP (cmap)->windowing_data) >@@ -107,7 +107,7 @@ gdk_colormap_finalize (GObject *object) > > gdk_colormap_remove (colormap); > >- if (!private->screen->closed) >+ if (!private->screen->closed && !private->foreign) > XFreeColormap (GDK_SCREEN_XDISPLAY (private->screen), private->xcolormap); > > if (private->hash) >@@ -1292,6 +1292,7 @@ gdk_x11_colormap_foreign_new (GdkVisual > private->screen = screen; > private->xcolormap = xcolormap; > private->private_val = FALSE; >+ private->foreign = TRUE; > > colormap->size = visual->colormap_size; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 440340
: 300158 |
304569
|
304570