[dasher] Build fix: AtspiEventListenerCB isn't const



commit 49cfdc39b1b8832ba88eb61d04e47841e2d8a96a
Author: Patrick Welche <prlw1 cam ac uk>
Date:   Thu Jun 5 09:11:30 2014 +0100

    Build fix: AtspiEventListenerCB isn't const

 Src/Gtk2/dasher_editor_external_atspi.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/Src/Gtk2/dasher_editor_external_atspi.cpp b/Src/Gtk2/dasher_editor_external_atspi.cpp
index 8c60a03..176e2f2 100644
--- a/Src/Gtk2/dasher_editor_external_atspi.cpp
+++ b/Src/Gtk2/dasher_editor_external_atspi.cpp
@@ -18,8 +18,8 @@ struct _DasherEditorExternalPrivate {
 void dasher_editor_external_handle_focus(DasherEditor *pSelf, const AtspiEvent *pEvent);
 void dasher_editor_external_handle_caret(DasherEditor *pSelf, const AtspiEvent *pEvent);
 
-void focus_listener(const AtspiEvent *pEvent, void *pUserData);
-void caret_listener(const AtspiEvent *pEvent, void *pUserData);
+void focus_listener(AtspiEvent *pEvent, void *pUserData);
+void caret_listener(AtspiEvent *pEvent, void *pUserData);
 
 static void listen_to_bus(DasherEditor *);
 static void unlisten_to_bus(DasherEditor *);
@@ -255,11 +255,11 @@ dasher_editor_external_handle_caret(DasherEditor *pSelf, const AtspiEvent *pEven
 }
 
 void
-focus_listener(const AtspiEvent *pEvent, void *pUserData) {
+focus_listener(AtspiEvent *pEvent, void *pUserData) {
   dasher_editor_external_handle_focus(DASHER_EDITOR(pUserData), pEvent);
 }
 
 void
-caret_listener(const AtspiEvent *pEvent, void *pUserData) {
+caret_listener(AtspiEvent *pEvent, void *pUserData) {
   dasher_editor_external_handle_caret(DASHER_EDITOR(pUserData), pEvent);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]