summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2010-12-13 15:33:16 -0500
committerJohn (J5) Palmieri <johnp@redhat.com>2010-12-13 15:33:16 -0500
commit175b7fcd4451984ee8530902a4f4ca672bcf6a1b (patch)
tree65aedc56a3bf2874b2165008401f3daab39f0143
parentc5ece4947054deadfbc5aad247d33375df56ed0e (diff)
downloadlibsoup-175b7fcd4451984ee8530902a4f4ca672bcf6a1b.tar.gz
libsoup-175b7fcd4451984ee8530902a4f4ca672bcf6a1b.tar.bz2
libsoup-175b7fcd4451984ee8530902a4f4ca672bcf6a1b.zip
[gi] annotate nicks for the elements of HTTPVersion enum
* GI was parsing as HTTPVersion.SOUP_HTTP_1_0 as HTTPVersion.0 * GI now parses as HTTPVersion.HTTP_1_0 (identifiers can't start with a number so we append HTTP for good measure)
-rw-r--r--libsoup/soup-message.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsoup/soup-message.h b/libsoup/soup-message.h
index 1750fcd4..9cf901b4 100644
--- a/libsoup/soup-message.h
+++ b/libsoup/soup-message.h
@@ -92,8 +92,8 @@ void soup_message_set_response (SoupMessage *msg,
gsize resp_length);
typedef enum {
- SOUP_HTTP_1_0 = 0,
- SOUP_HTTP_1_1 = 1
+ SOUP_HTTP_1_0 = 0, /*< nick=http-1-0 >*/
+ SOUP_HTTP_1_1 = 1 /*< nick=http-1-1 >*/
} SoupHTTPVersion;
void soup_message_set_http_version (SoupMessage *msg,