| 82 g_strdup(server)); |
83 g_strdup(server)); |
| 83 global_data.server_history = ggp_list_truncate( |
84 global_data.server_history = ggp_list_truncate( |
| 84 global_data.server_history, GGP_SERVCONN_HISTORY_MAXLEN, |
85 global_data.server_history, GGP_SERVCONN_HISTORY_MAXLEN, |
| 85 g_free); |
86 g_free); |
| 86 |
87 |
| 87 purple_prefs_set_string(GGP_SERVCONN_HISTORY_PREF, ggp_strjoin_list(";", |
88 joined = ggp_strjoin_list(";", global_data.server_history); |
| 88 global_data.server_history)); |
89 purple_prefs_set_string(GGP_SERVCONN_HISTORY_PREF, joined); |
| |
90 g_free(joined); |
| 89 purple_account_option_string_set_hints(global_data.server_option, |
91 purple_account_option_string_set_hints(global_data.server_option, |
| 90 ggp_servconn_get_servers()); |
92 ggp_servconn_get_servers()); |
| 91 } |
93 } |
| 92 |
94 |
| 93 GSList * ggp_servconn_get_servers(void) |
95 GSList * ggp_servconn_get_servers(void) |