[gthumb] Revert earlier change, don't assert fd is not null before unref
- From: Michael J. Chudobiak <mjc src gnome org>
- To: svn-commits-list gnome org
- Subject: [gthumb] Revert earlier change, don't assert fd is not null before unref
- Date: Fri, 1 May 2009 12:28:32 -0400 (EDT)
commit 59ac23d348820cce8966c5ba584194ce9211d14f
Author: Michael J. Chudobiak <mjc avtechpulse com>
Date: Fri May 1 12:27:34 2009 -0400
Revert earlier change, don't assert fd is not null before unref
---
libgthumb/file-data.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/libgthumb/file-data.c b/libgthumb/file-data.c
index 76a3fae..3dbc5cb 100644
--- a/libgthumb/file-data.c
+++ b/libgthumb/file-data.c
@@ -173,7 +173,8 @@ file_data_dup (FileData *source)
void
file_data_unref (FileData *fd)
{
- g_return_if_fail (fd != NULL);
+ if (fd == NULL)
+ return;
fd->ref--;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]