/pidgin/main: 9d62816617b9: GEnumValue nick should not have spac...

Ankit Vani a at nevitus.org
Fri Apr 10 03:58:15 EDT 2015


Changeset: 9d62816617b91ad8423d9a1de2a7aa9483f9b3c5
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2015-04-10 13:27 +0530
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/9d62816617b9

Description:

GEnumValue nick should not have spaces, makes g-ir-scanner unhappy.

diffstat:

 libpurple/media/enum-types.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff --git a/libpurple/media/enum-types.c b/libpurple/media/enum-types.c
--- a/libpurple/media/enum-types.c
+++ b/libpurple/media/enum-types.c
@@ -142,13 +142,13 @@ purple_media_network_protocol_get_type()
 					"udp" },
 			{ PURPLE_MEDIA_NETWORK_PROTOCOL_TCP_PASSIVE,
 					"PURPLE_MEDIA_NETWORK_PROTOCOL_TCP_PASSIVE",
-					"tcp passive" },
+					"tcp-passive" },
 			{ PURPLE_MEDIA_NETWORK_PROTOCOL_TCP_ACTIVE,
 					"PURPLE_MEDIA_NETWORK_PROTOCOL_TCP_ACTIVE",
-					"tcp active" },
+					"tcp-active" },
 			{ PURPLE_MEDIA_NETWORK_PROTOCOL_TCP_SO,
 					"PURPLE_MEDIA_NETWORK_PROTOCOL_TCP_SO",
-					"tcp so" },
+					"tcp-so" },
 			{ 0, NULL, NULL }
 		};
 		type = g_enum_register_static("PurpleMediaNetworkProtocol",



More information about the Commits mailing list