diff options
author | rootavish <[email protected]> | 2014-08-11 06:45:41 +0530 |
---|---|---|
committer | rootavish <[email protected]> | 2014-08-11 06:45:41 +0530 |
commit | 020b11e5f204453614c7c45287d9b39c376d1e4a (patch) | |
tree | 0a44a205457fd0ca509a285344726b2e2378aed4 /libdocument | |
parent | 1548bcb4629a6a41641a0188003215b3098aa5fc (diff) | |
parent | 1bdae54253b68f2042f1d7f43ac0f36654c9b432 (diff) | |
download | atril-020b11e5f204453614c7c45287d9b39c376d1e4a.tar.bz2 atril-020b11e5f204453614c7c45287d9b39c376d1e4a.tar.xz |
Merge remote-tracking branch 'upstream/master' into epub
Diffstat (limited to 'libdocument')
-rw-r--r-- | libdocument/ev-document-misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdocument/ev-document-misc.c b/libdocument/ev-document-misc.c index d597127f..6099b7fa 100644 --- a/libdocument/ev-document-misc.c +++ b/libdocument/ev-document-misc.c @@ -56,7 +56,7 @@ create_thumbnail_frame (int width, } /* make sure no one is passing us garbage */ - g_assert (width_r >= 0 && height_r >= 0); + g_return_val_if_fail (width_r >= 0 && height_r >= 0, NULL); retval = gdk_pixbuf_new (GDK_COLORSPACE_RGB, TRUE, 8, |