Mercurial > audlegacy
diff audacious/util.c @ 1887:94795106c541 trunk
[svn] - icc warning fixes (pass 1)
author | nenolod |
---|---|
date | Fri, 20 Oct 2006 16:58:06 -0700 |
parents | 01103f911aa5 |
children | 90d95cd7edb5 |
line wrap: on
line diff
--- a/audacious/util.c Sun Oct 15 09:58:41 2006 -0700 +++ b/audacious/util.c Fri Oct 20 16:58:06 2006 -0700 @@ -1551,15 +1551,15 @@ GdkPixmap *out; gint owidth, oheight; - g_return_if_fail(src != NULL); - g_return_if_fail(src_gc != NULL); - g_return_if_fail(in != NULL); - g_return_if_fail(width > 0 && height > 0); + g_return_val_if_fail(src != NULL, NULL); + g_return_val_if_fail(src_gc != NULL, NULL); + g_return_val_if_fail(in != NULL, NULL); + g_return_val_if_fail(width > 0 && height > 0, NULL); gdk_drawable_get_size(in, &owidth, &oheight); if (oheight == height && owidth == width) - return; + return NULL; out = gdk_pixmap_new(src, width, height, -1);