[libsoup] [gi] annotate nicks for the elements of HTTPVersion enum
- From: John Palmieri <johnp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup] [gi] annotate nicks for the elements of HTTPVersion enum
- Date: Mon, 13 Dec 2010 20:37:11 +0000 (UTC)
commit 175b7fcd4451984ee8530902a4f4ca672bcf6a1b
Author: John (J5) Palmieri <johnp redhat com>
Date: Mon Dec 13 15:33:16 2010 -0500
[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)
libsoup/soup-message.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libsoup/soup-message.h b/libsoup/soup-message.h
index 1750fcd..9cf901b 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]