/pidgin/main: 695838796082: GEnumValue nick should not have spac...

Ankit Vani a at nevitus.org
Mon Apr 13 13:00:58 EDT 2015


Changeset: 695838796082f846180f6ebf6832ccacad449a0b
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2015-04-10 13:27 +0530
Branch:	 release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/695838796082

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
@@ -147,13 +147,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