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:
parent
9e03f19df1
commit
dd1e0961ec
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86961
@ -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/ \
|
||||
|
12
x11-toolkits/gtk20/files/patch-gtk_gtkwidget.c
Normal file
12
x11-toolkits/gtk20/files/patch-gtk_gtkwidget.c
Normal 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
|
@ -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/ \
|
||||
|
12
x11-toolkits/gtk30/files/patch-gtk_gtkwidget.c
Normal file
12
x11-toolkits/gtk30/files/patch-gtk_gtkwidget.c
Normal 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
|
Loading…
Reference in New Issue
Block a user