aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-splash.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-splash.c')
-rw-r--r--shell/e-splash.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/shell/e-splash.c b/shell/e-splash.c
index a8a234fd75..a6bb79e98c 100644
--- a/shell/e-splash.c
+++ b/shell/e-splash.c
@@ -370,7 +370,11 @@ e_splash_new (void)
GdkPixbuf *splash_image_pixbuf;
splash_image_pixbuf = gdk_pixbuf_new_from_file (EVOLUTION_IMAGES "/splash.png", NULL);
- g_return_val_if_fail (splash_image_pixbuf != NULL, NULL);
+
+ if (splash_image_pixbuf == NULL) {
+ g_warning("Cannot find splash image: %s", EVOLUTION_IMAGES "/splash.png");
+ return NULL;
+ }
new = g_object_new (e_splash_get_type (), NULL);
e_splash_construct (new, splash_image_pixbuf);