aboutsummaryrefslogtreecommitdiff
path: root/src/IO
diff options
context:
space:
mode:
Diffstat (limited to 'src/IO')
-rw-r--r--src/IO/about.c2
-rw-r--r--src/IO/iowatch.cc12
-rw-r--r--src/IO/iowatch.hh2
3 files changed, 7 insertions, 9 deletions
diff --git a/src/IO/about.c b/src/IO/about.c
index 2e5c4485..132db8a1 100644
--- a/src/IO/about.c
+++ b/src/IO/about.c
@@ -75,7 +75,7 @@ const char *const AboutSplash=
" <tr>\n"
" <td>&nbsp;&nbsp;\n"
" <td>\n"
-" <a href='http://dillo.org/dillo-2.x/ChangeLog'>\n"
+" <a href='http://hg.dillo.org/dillo/file/tip/ChangeLog'>\n"
" ChangeLog</a>\n"
" <tr>\n"
" <td>&nbsp;&nbsp;\n"
diff --git a/src/IO/iowatch.cc b/src/IO/iowatch.cc
index f67b711f..f5243934 100644
--- a/src/IO/iowatch.cc
+++ b/src/IO/iowatch.cc
@@ -11,19 +11,17 @@
// Simple ADT for watching file descriptor activity
-#include <fltk/run.h>
+#include <FL/Fl.H>
#include "iowatch.hh"
-using namespace fltk;
-
-
//
// Hook a Callback for a certain activities in a FD
//
-void a_IOwatch_add_fd(int fd, int when, FileHandler Callback, void *usr_data=0)
+void a_IOwatch_add_fd(int fd, int when, Fl_FD_Handler Callback,
+ void *usr_data = 0)
{
if (fd >= 0)
- add_fd(fd, when, Callback, usr_data);
+ Fl::add_fd(fd, when, Callback, usr_data);
}
//
@@ -32,6 +30,6 @@ void a_IOwatch_add_fd(int fd, int when, FileHandler Callback, void *usr_data=0)
void a_IOwatch_remove_fd(int fd, int when)
{
if (fd >= 0)
- remove_fd(fd, when);
+ Fl::remove_fd(fd, when);
}
diff --git a/src/IO/iowatch.hh b/src/IO/iowatch.hh
index 681d0080..e2d497f1 100644
--- a/src/IO/iowatch.hh
+++ b/src/IO/iowatch.hh
@@ -2,7 +2,7 @@
#define __IO_WATCH_H__
/*
- * BUG: enum {READ = 1, WRITE = 4, EXCEPT = 8} borrowed from fltk/run.h
+ * BUG: enum {READ = 1, WRITE = 4, EXCEPT = 8} borrowed from FL/Enumerations.H
*/
#define DIO_READ 1
#define DIO_WRITE 4