[libgdata] [docs] Tidy up service propagation in documents tests



commit 1655f211611b3d77650b26d59f6fdf3aa3dacc9f
Author: Philip Withnall <philip tecnocode co uk>
Date:   Sun Jan 31 14:07:15 2010 +0000

    [docs] Tidy up service propagation in documents tests

 gdata/tests/documents.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/gdata/tests/documents.c b/gdata/tests/documents.c
index ef68962..7129b49 100644
--- a/gdata/tests/documents.c
+++ b/gdata/tests/documents.c
@@ -23,13 +23,11 @@
 #include "gdata.h"
 #include "common.h"
 
-/* TODO: probably a better way to do this; some kind of data associated with the test suite? */
-static GDataDocumentsService *service = NULL;
-
 static void
 test_authentication (void)
 {
 	gboolean retval;
+	GDataDocumentsService *service;
 	GError *error = NULL;
 
 	/* Create a service */



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