Mercurial > pidgin
comparison src/protocols/msn/notification.c @ 5436:ad445074d239
[gaim-migrate @ 5818]
Another big commit. Ugh. I need a very smart regexp.
Core/UI split do_error_dialog(), and soon the mail dialogs! Yay! This
should work without problems at all, but standard disclaimer..
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 18 May 2003 19:59:02 +0000 |
parents | 9acf4832c0dc |
children | 40e976d42028 |
comparison
equal
deleted
inserted
replaced
5435:a2f26666de42 | 5436:ad445074d239 |
---|---|
129 } | 129 } |
130 else { | 130 else { |
131 g_snprintf(buf, sizeof(buf), "MSN Error: Unable to parse message\n"); | 131 g_snprintf(buf, sizeof(buf), "MSN Error: Unable to parse message\n"); |
132 } | 132 } |
133 | 133 |
134 do_error_dialog(buf, NULL, GAIM_ERROR); | 134 gaim_notify_error(servconn->session->account->gc, NULL, buf, NULL); |
135 | 135 |
136 return TRUE; | 136 return TRUE; |
137 } | 137 } |
138 | 138 |
139 | 139 |
1216 | 1216 |
1217 default: | 1217 default: |
1218 break; | 1218 break; |
1219 } | 1219 } |
1220 | 1220 |
1221 if (*buf != '\0') { | 1221 if (*buf != '\0') |
1222 do_error_dialog(buf, NULL, GAIM_INFO); | 1222 gaim_notify_info(servconn->session->account->gc, NULL, buf, NULL); |
1223 } | |
1224 } | 1223 } |
1225 | 1224 |
1226 g_hash_table_destroy(table); | 1225 g_hash_table_destroy(table); |
1227 | 1226 |
1228 return TRUE; | 1227 return TRUE; |