diff options
| author | dequis <dx@dxzone.com.ar> | 2015-01-23 03:10:38 -0300 | 
|---|---|---|
| committer | dequis <dx@dxzone.com.ar> | 2015-02-22 18:17:21 -0300 | 
| commit | 5ff46180e5378acd6d103d9314175c78530bda7e (patch) | |
| tree | 151b18a8331aac9e034f1b991ebb5e667a4a4fcd /protocols | |
| parent | 9216eff1a59e9d4a24b63c16ba4c2cacd051332c (diff) | |
purple: cleanup, remove one usage of static local_bee
Shouldn't affect anything, and still doesn't allow initializing
libpurple more than once, but whatever.
Diffstat (limited to 'protocols')
| -rw-r--r-- | protocols/purple/purple.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/protocols/purple/purple.c b/protocols/purple/purple.c index aefd353b..d2b2bc67 100644 --- a/protocols/purple/purple.c +++ b/protocols/purple/purple.c @@ -999,6 +999,7 @@ static void *prplcb_request_action(const char *title, const char *primary, const                                     va_list actions)  {  	struct prplcb_request_action_data *pqad; +	struct im_connection *ic = purple_ic_by_pa(account);  	int i;  	char *q; @@ -1024,7 +1025,7 @@ static void *prplcb_request_action(const char *title, const char *primary, const  	/* TODO: IRC stuff here :-( */  	q = g_strdup_printf("Request: %s\n\n%s\n\n%s", title, primary, secondary); -	pqad->bee_data = query_add(local_bee->ui_data, purple_ic_by_pa(account), q, +	pqad->bee_data = query_add(ic->bee->ui_data, ic, q,  	                           prplcb_request_action_yes, prplcb_request_action_no, g_free, pqad);  	g_free(q); | 
