mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Fix a bug that caused spurious crashes in metacity.
Special thanks goes to James Pole <james.pole@paradise.net.nz>, and Marc Recht <marc@informatik.uni-bremen.de> who provided information to GNOME's Bugzilla. More details on this bug can be found at: http://bugzilla.gnome.org/show_bug.cgi?id=97992 http://bugzilla.gnome.org/show_bug.cgi?id=94806 Obtained from: GNOME CVS
This commit is contained in:
parent
3ff5dd4015
commit
040a50454d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70275
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= gtk
|
||||
PORTVERSION= 2.0.8
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11-toolkits
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/2.0,} \
|
||||
ftp://ftp.gtk.org/pub/gtk/v2.0/ \
|
||||
|
17
x11-toolkits/gtk20/files/patch-gdk_x11_gdkwindow-x11.c
Normal file
17
x11-toolkits/gtk20/files/patch-gdk_x11_gdkwindow-x11.c
Normal file
@ -0,0 +1,17 @@
|
||||
This is a temporary patch. It is already in GNOME CVS, and will be merged in
|
||||
the next gtk+-2.0.x release. More details on what this patch fixes can be
|
||||
found at:
|
||||
|
||||
http://bugzilla.gnome.org/show_bug.cgi?id=94806
|
||||
|
||||
--- gdk/x11/gdkwindow-x11.c.orig Sat Nov 16 19:25:15 2002
|
||||
+++ gdk/x11/gdkwindow-x11.c Sat Nov 16 19:26:16 2002
|
||||
@@ -202,6 +202,8 @@
|
||||
&window_attributes);
|
||||
drawable_impl->colormap =
|
||||
gdk_colormap_lookup (window_attributes.colormap);
|
||||
+ if (drawable_impl->colormap)
|
||||
+ g_object_ref (drawable_impl->colormap);
|
||||
}
|
||||
|
||||
return drawable_impl->colormap;
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= gtk
|
||||
PORTVERSION= 2.0.8
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11-toolkits
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/2.0,} \
|
||||
ftp://ftp.gtk.org/pub/gtk/v2.0/ \
|
||||
|
17
x11-toolkits/gtk30/files/patch-gdk_x11_gdkwindow-x11.c
Normal file
17
x11-toolkits/gtk30/files/patch-gdk_x11_gdkwindow-x11.c
Normal file
@ -0,0 +1,17 @@
|
||||
This is a temporary patch. It is already in GNOME CVS, and will be merged in
|
||||
the next gtk+-2.0.x release. More details on what this patch fixes can be
|
||||
found at:
|
||||
|
||||
http://bugzilla.gnome.org/show_bug.cgi?id=94806
|
||||
|
||||
--- gdk/x11/gdkwindow-x11.c.orig Sat Nov 16 19:25:15 2002
|
||||
+++ gdk/x11/gdkwindow-x11.c Sat Nov 16 19:26:16 2002
|
||||
@@ -202,6 +202,8 @@
|
||||
&window_attributes);
|
||||
drawable_impl->colormap =
|
||||
gdk_colormap_lookup (window_attributes.colormap);
|
||||
+ if (drawable_impl->colormap)
|
||||
+ g_object_ref (drawable_impl->colormap);
|
||||
}
|
||||
|
||||
return drawable_impl->colormap;
|
Loading…
Reference in New Issue
Block a user