diff options
author | Dan Winship <danw@src.gnome.org> | 2005-04-11 20:42:07 +0000 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2005-04-11 20:42:07 +0000 |
commit | dbc7ce9e0f5bf9c8be764946886a9003fb129b29 (patch) | |
tree | 4a60b096b33fbce7a9ddf26f9ba1b77f6d8688d4 /libsoup/soup-message-private.h | |
parent | 0d10ee7c5a25bf27440e914be3b891c5004ebc6f (diff) | |
download | libsoup-dbc7ce9e0f5bf9c8be764946886a9003fb129b29.tar.gz |
require glib-2.0 >= 2.4.0
* configure.in: require glib-2.0 >= 2.4.0
* libsoup/*.c: use G_DEFINE_TYPE and
g_type_class_add_private/G_TYPE_INSTANCE_GET_PRIVATE
* libsoup/soup-types.h: kill SOUP_MAKE_TYPE and
SOUP_MAKE_TYPE_WITH_IFACE
* tests/revserver.c: use GThread. (patch from tml)
Diffstat (limited to 'libsoup/soup-message-private.h')
-rw-r--r-- | libsoup/soup-message-private.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libsoup/soup-message-private.h b/libsoup/soup-message-private.h index c17bc78d..e1168f6d 100644 --- a/libsoup/soup-message-private.h +++ b/libsoup/soup-message-private.h @@ -8,7 +8,7 @@ #include <libsoup/soup-message.h> -struct SoupMessagePrivate { +typedef struct { gpointer io_data; guint msg_flags; @@ -20,7 +20,8 @@ struct SoupMessagePrivate { SoupHttpVersion http_version; SoupUri *uri; -}; +} SoupMessagePrivate; +#define SOUP_MESSAGE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), SOUP_TYPE_MESSAGE, SoupMessagePrivate)) void soup_message_run_handlers (SoupMessage *msg, SoupHandlerPhase phase); |