[libsoup/cache] typedef SoupCache in soup-types.h



commit eb70eadf0a82c51a1ff3107ff76fd89204c6535f
Author: Xan Lopez <xan gnome org>
Date:   Mon Jul 27 13:15:35 2009 +0300

    typedef SoupCache in soup-types.h

 libsoup/soup-cache.h           |    4 ++--
 libsoup/soup-session-private.h |    1 -
 libsoup/soup-types.h           |    1 +
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libsoup/soup-cache.h b/libsoup/soup-cache.h
index 18e03fe..be3d7ca 100644
--- a/libsoup/soup-cache.h
+++ b/libsoup/soup-cache.h
@@ -19,11 +19,11 @@ G_BEGIN_DECLS
 
 typedef struct _SoupCachePrivate SoupCachePrivate;
 
-typedef struct {
+struct _SoupCache {
 	GObject parent_instance;
 
 	SoupCachePrivate *priv;
-} SoupCache;
+};
 
 typedef struct {
 	GObjectClass parent_class;
diff --git a/libsoup/soup-session-private.h b/libsoup/soup-session-private.h
index 591161f..a93e194 100644
--- a/libsoup/soup-session-private.h
+++ b/libsoup/soup-session-private.h
@@ -6,7 +6,6 @@
 #ifndef SOUP_SESSION_PRIVATE_H
 #define SOUP_SESSION_PRIVATE_H 1
 
-#include "soup-cache.h"
 #include "soup-session.h"
 #include "soup-connection.h"
 #include "soup-message-queue.h"
diff --git a/libsoup/soup-types.h b/libsoup/soup-types.h
index 8b485bf..0225b7c 100644
--- a/libsoup/soup-types.h
+++ b/libsoup/soup-types.h
@@ -16,6 +16,7 @@ G_BEGIN_DECLS
 typedef struct _SoupAddress           SoupAddress;
 typedef struct _SoupAuth              SoupAuth;
 typedef struct _SoupAuthDomain        SoupAuthDomain;
+typedef struct _SoupCache             SoupCache;
 typedef struct _SoupCookie            SoupCookie;
 typedef struct _SoupDate              SoupDate;
 typedef struct _SoupMessage           SoupMessage;



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