summaryrefslogtreecommitdiff
path: root/libsoup/soup-connection.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-08-27 13:13:30 +0000
committerDan Winship <danw@src.gnome.org>2003-08-27 13:13:30 +0000
commit3594d2168cfa7505f66ebb7991fb9f3a3d5edd41 (patch)
treea6cd65d99d5af619be36f9bddf36a3232d37f302 /libsoup/soup-connection.h
parent30cda756af1efcac7bfcf89ae02e7e43c018e63d (diff)
downloadlibsoup-3594d2168cfa7505f66ebb7991fb9f3a3d5edd41.tar.gz
New header with typedefs, to avoid #include loops among other headers.
* libsoup/soup-types.h: New header with typedefs, to avoid #include loops among other headers. * libsoup/Makefile.am (libsoupinclude_HEADERS): add it * libsoup/*.[ch], tests/*.c: Update for soup-types.h
Diffstat (limited to 'libsoup/soup-connection.h')
-rw-r--r--libsoup/soup-connection.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/libsoup/soup-connection.h b/libsoup/soup-connection.h
index 723450fd..e9b17f8b 100644
--- a/libsoup/soup-connection.h
+++ b/libsoup/soup-connection.h
@@ -8,9 +8,7 @@
#include <time.h>
-#include <glib-object.h>
-#include <libsoup/soup-socket.h>
-#include <libsoup/soup-uri.h>
+#include <libsoup/soup-types.h>
#define SOUP_TYPE_CONNECTION (soup_connection_get_type ())
#define SOUP_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SOUP_TYPE_CONNECTION, SoupConnection))
@@ -21,11 +19,11 @@
typedef struct SoupConnectionPrivate SoupConnectionPrivate;
-typedef struct {
+struct SoupConnection {
GObject parent;
SoupConnectionPrivate *priv;
-} SoupConnection;
+};
typedef struct {
GObjectClass parent_class;