[gnome-photos] base-item: Remove useless assertion
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] base-item: Remove useless assertion
- Date: Mon, 23 Feb 2015 16:05:26 +0000 (UTC)
commit 911b895b6b1334236742d0cfde0e213ddd612b4e
Author: Debarshi Ray <debarshir gnome org>
Date: Mon Feb 23 15:22:27 2015 +0100
base-item: Remove useless assertion
g_thread_pool_new always returns a non-NULL value, and the GError is
not used for non-exclusive pools. Therefore, there is nothing for us to
check.
https://bugzilla.gnome.org/show_bug.cgi?id=740425
src/photos-base-item.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-base-item.c b/src/photos-base-item.c
index 6069a00..88547a3 100644
--- a/src/photos-base-item.c
+++ b/src/photos-base-item.c
@@ -1094,7 +1094,6 @@ photos_base_item_class_init (PhotosBaseItemClass *class)
1,
FALSE,
NULL);
- g_assert (create_thumbnail_pool != NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]