diff audacious/widgets/playlist_list.c @ 1887:94795106c541 trunk

[svn] - icc warning fixes (pass 1)
author nenolod
date Fri, 20 Oct 2006 16:58:06 -0700
parents 630cdcaad7de
children 22051a0efcef
line wrap: on
line diff
--- a/audacious/widgets/playlist_list.c	Sun Oct 15 09:58:41 2006 -0700
+++ b/audacious/widgets/playlist_list.c	Fri Oct 20 16:58:06 2006 -0700
@@ -100,8 +100,7 @@
 	GdkPixmap *p;
 	GdkGC *gc;
 
-	if (in == NULL)
-		return;
+	g_return_val_if_fail(in != NULL, NULL);
 
 	p = gdk_pixmap_new(in, w, h, -1);
 	gc = gdk_gc_new(p);