Changeset 56985aa for protocols


Ignore:
Timestamp:
2015-03-03T23:18:43Z (5 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
e6f47fb
Parents:
d93c8beb
Message:

Revert "purple: cleanup, remove one usage of static local_bee"

This reverts commit 5ff46180e5378acd6d103d9314175c78530bda7e.

Turns out that libpurple really doesn't provide any context at all for
some queries.

Also, not going to say "Shouldn't affect anything" again. I'm getting
good at writing code that looks good, but actually breaks stuff.
That's not good. At all.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/purple/purple.c

    rd93c8beb r56985aa  
    10151015{
    10161016        struct prplcb_request_action_data *pqad;
    1017         struct im_connection *ic = purple_ic_by_pa(account);
    10181017        int i;
    10191018        char *q;
     
    10411040        /* TODO: IRC stuff here :-( */
    10421041        q = g_strdup_printf("Request: %s\n\n%s\n\n%s", title, primary, secondary);
    1043         pqad->bee_data = query_add(ic->bee->ui_data, ic, q,
     1042        pqad->bee_data = query_add(local_bee->ui_data, purple_ic_by_pa(account), q,
    10441043                                   prplcb_request_action_yes, prplcb_request_action_no, g_free, pqad);
    10451044
Note: See TracChangeset for help on using the changeset viewer.