mirror of
https://github.com/fltk/fltk.git
synced 2026-05-24 00:06:20 +08:00
Minor simplification.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11678 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+1
-1
@@ -313,7 +313,7 @@ void Fl_WinAPI_System_Driver::add_fd(int n, int events, void (*cb)(FL_SOCKET, vo
|
||||
}
|
||||
|
||||
void Fl_WinAPI_System_Driver::add_fd(int fd, void (*cb)(FL_SOCKET, void*), void* v) {
|
||||
Fl::add_fd(fd, FL_READ, cb, v);
|
||||
add_fd(fd, FL_READ, cb, v);
|
||||
}
|
||||
|
||||
void Fl_WinAPI_System_Driver::remove_fd(int n, int events) {
|
||||
|
||||
+1
-1
@@ -152,7 +152,7 @@ void Fl_X11_System_Driver::add_fd(int n, int events, void (*cb)(int, void*), voi
|
||||
}
|
||||
|
||||
void Fl_X11_System_Driver::add_fd(int n, void (*cb)(int, void*), void* v) {
|
||||
Fl::add_fd(n, POLLIN, cb, v);
|
||||
add_fd(n, POLLIN, cb, v);
|
||||
}
|
||||
|
||||
void Fl_X11_System_Driver::remove_fd(int n, int events) {
|
||||
|
||||
Reference in New Issue
Block a user