summaryrefslogtreecommitdiff
path: root/navit/event_glib.c
diff options
context:
space:
mode:
Diffstat (limited to 'navit/event_glib.c')
-rw-r--r--navit/event_glib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/event_glib.c b/navit/event_glib.c
index 7a3c6f5f6..5387d54a5 100644
--- a/navit/event_glib.c
+++ b/navit/event_glib.c
@@ -22,6 +22,7 @@
#include "event_glib.h"
#include "debug.h"
#include "callback.h"
+#include "plugin.h"
static GMainLoop *loop;
@@ -77,7 +78,6 @@ event_glib_add_watch(void *fd, enum event_watch_cond cond, struct callback *cb)
static void
event_glib_remove_watch(struct event_watch *ev)
{
- GError *error = NULL;
if (! ev)
return;
g_source_remove(ev->source);