Mercurial > pidgin.yaz
comparison libpurple/protocols/yahoo/libymsg.c @ 32790:3e7a7e14af62
Our API really shouldn't have a 'gc' in it anymore.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Mon, 24 Oct 2011 05:37:19 +0000 |
parents | 75daf132caf2 |
children | 4a34689eeb33 |
comparison
equal
deleted
inserted
replaced
32789:fb2458f2326b | 32790:3e7a7e14af62 |
---|---|
5230 PurpleConnection *gc; | 5230 PurpleConnection *gc; |
5231 | 5231 |
5232 if (!args || !args[0]) | 5232 if (!args || !args[0]) |
5233 return PURPLE_CMD_RET_FAILED; | 5233 return PURPLE_CMD_RET_FAILED; |
5234 | 5234 |
5235 gc = purple_conversation_get_gc(conv); | 5235 gc = purple_conversation_get_connection(conv); |
5236 purple_debug_info("yahoo", "Trying to join %s \n", args[0]); | 5236 purple_debug_info("yahoo", "Trying to join %s \n", args[0]); |
5237 | 5237 |
5238 comp = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_free); | 5238 comp = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_free); |
5239 g_hash_table_replace(comp, g_strdup("room"), g_ascii_strdown(args[0], -1)); | 5239 g_hash_table_replace(comp, g_strdup("room"), g_ascii_strdown(args[0], -1)); |
5240 g_hash_table_replace(comp, g_strdup("type"), g_strdup("Chat")); | 5240 g_hash_table_replace(comp, g_strdup("type"), g_strdup("Chat")); |