1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

Add a patch from gtk+ CVS that fixes the corrupt thumbnails in

gnome-theme-manager.

Obtained from:	gtk+ CVS
This commit is contained in:
Joe Marcus Clarke 2003-08-14 21:56:14 +00:00
parent 9e03f19df1
commit dd1e0961ec
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86961
4 changed files with 26 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= gtk
PORTVERSION= 2.2.2
PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/2.2,} \
ftp://ftp.gtk.org/pub/gtk/v2.0/ \

View File

@ -0,0 +1,12 @@
--- gtk/gtkwidget.c.orig Thu Aug 14 17:51:56 2003
+++ gtk/gtkwidget.c Thu Aug 14 17:52:52 2003
@@ -3041,6 +3041,9 @@
static gboolean
event_window_is_still_viewable (GdkEvent *event)
{
+ if (GDK_IS_PIXMAP (event->any.window))
+ return event->type == GDK_EXPOSE;
+
/* Check that we think the event's window is viewable before
* delivering the event, to prevent suprises. We do this here
* at the last moment, since the event may have been queued

View File

@ -7,6 +7,7 @@
PORTNAME= gtk
PORTVERSION= 2.2.2
PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/2.2,} \
ftp://ftp.gtk.org/pub/gtk/v2.0/ \

View File

@ -0,0 +1,12 @@
--- gtk/gtkwidget.c.orig Thu Aug 14 17:51:56 2003
+++ gtk/gtkwidget.c Thu Aug 14 17:52:52 2003
@@ -3041,6 +3041,9 @@
static gboolean
event_window_is_still_viewable (GdkEvent *event)
{
+ if (GDK_IS_PIXMAP (event->any.window))
+ return event->type == GDK_EXPOSE;
+
/* Check that we think the event's window is viewable before
* delivering the event, to prevent suprises. We do this here
* at the last moment, since the event may have been queued