[gnome-photos] dlna-renderer: Fix a value returned
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] dlna-renderer: Fix a value returned
- Date: Wed, 9 Oct 2013 08:06:14 +0000 (UTC)
commit 52a308a1be9f3523e5c51d691557eab8ce4231bf
Author: Yosef Or Boczko <yoseforb gmail com>
Date: Wed Oct 9 02:52:41 2013 +0300
dlna-renderer: Fix a value returned
https://bugzilla.gnome.org/show_bug.cgi?id=709693
src/photos-dlna-renderer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-dlna-renderer.c b/src/photos-dlna-renderer.c
index a5505f3..22394c9 100644
--- a/src/photos-dlna-renderer.c
+++ b/src/photos-dlna-renderer.c
@@ -733,7 +733,7 @@ photos_dlna_renderer_get_icon_finish (PhotosDlnaRenderer *self,
GAsyncResult *res,
GError **error)
{
- g_return_if_fail (g_task_is_valid (res, self));
+ g_return_val_if_fail (g_task_is_valid (res, self), NULL);
return GDK_PIXBUF (g_task_propagate_pointer (G_TASK (res), error));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]