[libgdata] [youtube] Add missing precondition
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata] [youtube] Add missing precondition
- Date: Wed, 4 Aug 2010 09:21:00 +0000 (UTC)
commit bc6c4bd684b7996fac147b94d3e833093b3418d3
Author: Philip Withnall <philip tecnocode co uk>
Date: Wed Aug 4 10:08:50 2010 +0100
[youtube] Add missing precondition
gdata/services/youtube/gdata-youtube-group.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gdata/services/youtube/gdata-youtube-group.c b/gdata/services/youtube/gdata-youtube-group.c
index c4feeb8..07c7015 100644
--- a/gdata/services/youtube/gdata-youtube-group.c
+++ b/gdata/services/youtube/gdata-youtube-group.c
@@ -203,6 +203,7 @@ void
gdata_youtube_group_get_uploaded (GDataYouTubeGroup *self, GTimeVal *uploaded)
{
g_return_if_fail (GDATA_IS_YOUTUBE_GROUP (self));
+ g_return_if_fail (uploaded != NULL);
*uploaded = self->priv->uploaded;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]