- Timestamp:
- 2015-12-01T04:45:20Z (9 years ago)
- Branches:
- master
- Children:
- 05aba55
- Parents:
- 398a139
- git-author:
- dequis <dx@…> (01-12-15 04:38:30)
- git-committer:
- dequis <dx@…> (01-12-15 04:45:20)
- Location:
- protocols
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/bee.h
r398a139 r03df717 129 129 void (*ft_close)(struct im_connection *ic, struct file_transfer *ft); 130 130 void (*ft_finished)(struct im_connection *ic, struct file_transfer *ft); 131 132 void (*log)(bee_t *bee, const char *tag, const char *msg); 131 133 } bee_ui_funcs_t; 132 134 -
protocols/nogaim.c
r398a139 r03df717 207 207 account_t *a; 208 208 209 if (!ic->bee->ui->log) { 210 return; 211 } 212 209 213 va_start(params, format); 210 214 text = g_strdup_vprintf(format, params); … … 225 229 /* If we found one, include the screenname in the message. */ 226 230 if (a) { 227 /* FIXME(wilmer): ui_log callback or so */ 228 irc_rootmsg(ic->bee->ui_data, "%s - %s", ic->acc->tag, text); 231 ic->bee->ui->log(ic->bee, ic->acc->tag, text); 229 232 } else { 230 i rc_rootmsg(ic->bee->ui_data, "%s - %s", ic->acc->prpl->name, text);233 ic->bee->ui->log(ic->bee, ic->acc->prpl->name, text); 231 234 } 232 235
Note: See TracChangeset
for help on using the changeset viewer.