1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Fix crash if no splash is set

Obtained from:	Ubuntu
This commit is contained in:
Michael Johnson 2007-02-23 01:11:20 +00:00
parent 59e75c4a46
commit ed0347a94a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=185718
2 changed files with 12 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= gnome-splashscreen-manager
PORTVERSION= 0.2
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= x11-themes
MASTER_SITES= http://www.miketech.net/gnome-art/download/
DISTNAME= gnome-art-${PORTVERSION}

View File

@ -0,0 +1,11 @@
--- lib/gnome-splashscreen-manager/ui/main_window.rb.orig Thu Feb 22 20:01:13 2007
+++ lib/gnome-splashscreen-manager/ui/main_window.rb Thu Feb 22 20:01:34 2007
@@ -422,7 +422,7 @@
#Add old splash screen
def add_old_splash_screen
- if (@old_splash_screen == "")
+ if (@old_splash_screen == "" || @old_splash_screen == nil)
return
end