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