Changeset 3bb333c for protocols/purple
- Timestamp:
- 2015-03-11T21:24:15Z (10 years ago)
- Branches:
- master
- Children:
- 89db90e, fedc8f1
- Parents:
- afbad28
- git-author:
- dequis <dx@…> (04-03-15 00:49:21)
- git-committer:
- dequis <dx@…> (11-03-15 21:24:15)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/purple/purple.c
rafbad28 r3bb333c 1048 1048 } 1049 1049 1050 /* So it turns out some requests have no account context at all, because 1051 * libpurple hates us. This means that query_del_by_conn() won't remove those 1052 * on logout, and will segfault if the user replies. That's why this exists. 1053 */ 1054 static void prplcb_close_request(PurpleRequestType type, void *data) 1055 { 1056 if (type == PURPLE_REQUEST_ACTION) { 1057 struct prplcb_request_action_data *pqad = data; 1058 query_del(local_bee->ui_data, pqad->bee_data); 1059 } 1060 /* Add the request input handler here when that becomes a thing */ 1061 } 1062 1050 1063 /* 1051 1064 static void prplcb_request_test() … … 1062 1075 NULL, 1063 1076 NULL, 1064 NULL,1077 prplcb_close_request, 1065 1078 NULL, 1066 1079 };
Note: See TracChangeset
for help on using the changeset viewer.