summaryrefslogtreecommitdiff
path: root/src/Fl.cxx
diff options
context:
space:
mode:
authorIan MacArthur <imacarthur@gmail.com>2010-03-19 21:40:12 +0000
committerIan MacArthur <imacarthur@gmail.com>2010-03-19 21:40:12 +0000
commitaca570e1ce3f106f86e983fac92f425724b9fa2c (patch)
treedde34f87803914572cadeadeae508408ed5c1bea /src/Fl.cxx
parent3aa47122fe204d295ca3e395b0b87cf360ae343a (diff)
Commit Domingo's patch for the idle declarations etc.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7305 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl.cxx')
-rw-r--r--src/Fl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl.cxx b/src/Fl.cxx
index fce36c8b4..e829b52f7 100644
--- a/src/Fl.cxx
+++ b/src/Fl.cxx
@@ -716,7 +716,7 @@ static handler_link *handlers = 0;
zero from its handle() method. Exactly which ones may change
in future versions, however.
*/
-void Fl::add_handler(int (*ha)(int)) {
+void Fl::add_handler(Fl_Event_Handler ha) {
handler_link *l = new handler_link;
l->handle = ha;
l->next = handlers;
@@ -726,7 +726,7 @@ void Fl::add_handler(int (*ha)(int)) {
/**
Removes a previously added event handler.
*/
-void Fl::remove_handler(int (*ha)(int)) {
+void Fl::remove_handler(Fl_Event_Handler ha) {
handler_link *l, *p;
// Search for the handler in the list...