[easytag] Fix invariant check in PictureEntry_Update
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag] Fix invariant check in PictureEntry_Update
- Date: Mon, 11 Feb 2013 19:22:47 +0000 (UTC)
commit 7e0b8196fcfc5ed9b66c8360ff8c6a40b851d1b2
Author: David King <amigadave amigadave com>
Date: Mon Feb 11 17:37:18 2013 +0000
Fix invariant check in PictureEntry_Update
src/picture.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/picture.c b/src/picture.c
index a67b350..68db119 100644
--- a/src/picture.c
+++ b/src/picture.c
@@ -911,7 +911,7 @@ void PictureEntry_Update (Picture *pic, gboolean select_it)
GdkPixbufLoader *loader = 0;
GError *error = NULL;
- g_return_if_fail (pic != NULL && PictureEntryView != NULL);
+ g_return_if_fail (pic != NULL || PictureEntryView != NULL);
if (!pic->data)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]