[libgdata/clang: 4/8] [documents] Fix gdata_documents_entry_get_edited()



commit c6a862ae70eacbfa1190896f19456b971dbaa242
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Sat Aug 7 19:24:45 2010 +0100

    [documents] Fix gdata_documents_entry_get_edited()

 gdata/services/documents/gdata-documents-entry.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdata/services/documents/gdata-documents-entry.c b/gdata/services/documents/gdata-documents-entry.c
index 25da215..fb7f0ec 100644
--- a/gdata/services/documents/gdata-documents-entry.c
+++ b/gdata/services/documents/gdata-documents-entry.c
@@ -384,7 +384,7 @@ gdata_documents_entry_get_edited (GDataDocumentsEntry *self, GTimeVal *edited)
 {
 	g_return_if_fail (GDATA_IS_DOCUMENTS_ENTRY (self));
 	g_return_if_fail (edited != NULL);
-	edited = &(self->priv->edited);
+	*edited = self->priv->edited;
 }
 
 /**



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]