mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
Add a patch to prevent the Industrial theme from crashing if handed a NULL
widget.
This commit is contained in:
parent
53bf026dbe
commit
360f630419
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=104213
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= gnome-themes-extras
|
||||
PORTVERSION= 0.6
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= x11-toolkits gnome
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME}
|
||||
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.6
|
||||
|
@ -0,0 +1,10 @@
|
||||
--- Industrial/industrial_style.c.orig Tue Mar 16 16:55:11 2004
|
||||
+++ Industrial/industrial_style.c Tue Mar 16 16:58:23 2004
|
||||
@@ -1801,6 +1801,7 @@
|
||||
gint width,
|
||||
gint height)
|
||||
{
|
||||
+ g_return_if_fail (widget != NULL);
|
||||
#if DEBUG
|
||||
printf ("draw_shadow: %p %p %s %i %i %i %i\n", widget, window, detail, x, y,
|
||||
width, height);
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= gnome-themes-extras
|
||||
PORTVERSION= 0.6
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= x11-toolkits gnome
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME}
|
||||
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.6
|
||||
|
@ -0,0 +1,10 @@
|
||||
--- Industrial/industrial_style.c.orig Tue Mar 16 16:55:11 2004
|
||||
+++ Industrial/industrial_style.c Tue Mar 16 16:58:23 2004
|
||||
@@ -1801,6 +1801,7 @@
|
||||
gint width,
|
||||
gint height)
|
||||
{
|
||||
+ g_return_if_fail (widget != NULL);
|
||||
#if DEBUG
|
||||
printf ("draw_shadow: %p %p %s %i %i %i %i\n", widget, window, detail, x, y,
|
||||
width, height);
|
Loading…
Reference in New Issue
Block a user