[libgdata] demos: Fix type of a struct



commit b58bdaebee63b4b9878fb27c7a4955da525ac3c7
Author: Philip Withnall <philip tecnocode co uk>
Date:   Sun Jan 16 17:56:45 2011 +0000

    demos: Fix type of a struct

 demos/scrapbook/scrapbook.h |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/demos/scrapbook/scrapbook.h b/demos/scrapbook/scrapbook.h
index 6c95d0b..469f719 100644
--- a/demos/scrapbook/scrapbook.h
+++ b/demos/scrapbook/scrapbook.h
@@ -40,6 +40,7 @@ enum {
 typedef struct _ScrapYTSearch ScrapYTSearch;
 typedef struct _ScrapPSearch  ScrapPSearch;
 typedef struct _ScrapPUpload  ScrapPUpload;
+typedef struct _ScrapPicSearch ScrapPicSearch;
 
 typedef struct _ScrapData {
 	GtkWidget		*window;
@@ -51,7 +52,7 @@ typedef struct _ScrapData {
 	GtkWidget		*scrollWindow;
 	ScrapYTSearch	*yt_search;
 	ScrapPSearch	*p_search;
-	ScrapPSearch	*pic_search;
+	ScrapPicSearch *pic_search;
 	ScrapPUpload	*p_upload;
 	gint			max_rows;
 	gchar			*username;
@@ -71,7 +72,7 @@ struct _ScrapPUpload {
 	GtkWidget			*description;
 };
 
-typedef struct _ScrapPicSearch { /* for finding pictures */
+struct _ScrapPicSearch { /* for finding pictures */
 	const gchar *title;
 	gchar					*uri;
 	const gchar *user;
@@ -83,7 +84,7 @@ typedef struct _ScrapPicSearch { /* for finding pictures */
 	GtkListStore			*lStore;
 	GtkTreeIter				iter;
 	GtkWidget				*tView;
-} ScrapPicSearch;
+};
 
 struct _ScrapYTSearch { /* youtube search data */
 	GtkWidget 			*txt_entry;



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