Get compiling against libdeltachat 1.83
This commit is contained in:
@@ -183,8 +183,7 @@ delta_event_handler(void *context)
|
||||
dc_str_unref(warn);
|
||||
break;
|
||||
}
|
||||
case DC_EVENT_ERROR:
|
||||
case DC_EVENT_ERROR_NETWORK: {
|
||||
case DC_EVENT_ERROR: {
|
||||
int errcode = dc_event_get_data1_int(event);
|
||||
char *err = dc_event_get_data2_str(event);
|
||||
purple_debug_info(PLUGIN_ID, "ERROR from Delta: %d: %s\n", errcode, err);
|
||||
|
@@ -2,7 +2,7 @@
|
||||
#define DELTA_CONNECTION_H
|
||||
|
||||
#include <glib.h>
|
||||
#include <deltachat/deltachat.h>
|
||||
#include <deltachat.h>
|
||||
#include <pthread.h>
|
||||
|
||||
struct _PurpleConnection;
|
||||
|
Reference in New Issue
Block a user