Mercurial > pidgin
diff libpurple/protocols/yahoo/libyahoojp.c @ 27315:1f30c4a47e3d
have a separate hash table function for each prpl.
author | John Bailey <rekkanoryo@rekkanoryo.org> |
---|---|
date | Sun, 05 Jul 2009 14:14:14 +0000 |
parents | 4aa78e6524b1 |
children | 1f63548d3da5 |
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/libyahoojp.c Sun Jul 05 05:35:05 2009 +0000 +++ b/libpurple/protocols/yahoo/libyahoojp.c Sun Jul 05 14:14:14 2009 +0000 @@ -21,6 +21,15 @@ * */ +static GHashTable * +yahoojp_get_account_text_table(PurpleAccount *account) +{ + GHashTable *table; + table = g_hash_table_new(g_str_hash, g_str_equal); + g_hash_table_insert(table, "login_label", (gpointer)_("Yahoo JAPAN ID...")); + return table; +} + static PurpleWhiteboardPrplOps yahoo_whiteboard_prpl_ops = { yahoo_doodle_start, @@ -109,7 +118,7 @@ yahoo_attention_types, sizeof(PurplePluginProtocolInfo), /* struct_size */ - yahoo_get_account_text_table, /* get_account_text_table */ + yahoojp_get_account_text_table, /* get_account_text_table */ NULL, /* initiate_media */ NULL /* can_do_media */ };