summaryrefslogtreecommitdiff
path: root/atk/atkutil.h
diff options
context:
space:
mode:
authorBrian Cameron <bcameron@src.gnome.org>2001-07-30 17:42:46 +0000
committerBrian Cameron <bcameron@src.gnome.org>2001-07-30 17:42:46 +0000
commit99dbee4ec85817905cd30c2ffe9e9662c13e4992 (patch)
treeb69bd335431da38ddba39c57766657fd8871c290 /atk/atkutil.h
parent020c719ad21b16efea61b0fccf5c45532a6a8e39 (diff)
downloadatk-99dbee4ec85817905cd30c2ffe9e9662c13e4992.tar.gz
Changed first argument of atk_add_global_event_listener
so the callback function is of type GSignalEmissionHook instead of AtkEventListener. AtkEventListener is appropriate for Focus event callbacks, but not generic ones.
Diffstat (limited to 'atk/atkutil.h')
-rwxr-xr-xatk/atkutil.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/atk/atkutil.h b/atk/atkutil.h
index 4ddf99f..c00fadb 100755
--- a/atk/atkutil.h
+++ b/atk/atkutil.h
@@ -55,9 +55,9 @@ struct _AtkUtil
struct _AtkUtilClass
{
GObjectClass parent;
- guint (* add_global_event_listener) (AtkEventListener listener,
- gchar* event_type);
- void (* remove_global_event_listener) (guint listener_id);
+ guint (* add_global_event_listener) (GSignalEmissionHook listener,
+ gchar* event_type);
+ void (* remove_global_event_listener) (guint listener_id);
AtkObject* (* get_root) (void);
gchar* (* get_toolkit_name) (void);
gchar* (* get_toolkit_version) (void);
@@ -109,7 +109,7 @@ void atk_focus_tracker_notify (AtkObject *object);
* Adds the specified function to the list of functions to be called
* when an event of type event_type occurs.
*/
-guint atk_add_global_event_listener (AtkEventListener listener, gchar* event_type);
+guint atk_add_global_event_listener (GSignalEmissionHook listener, gchar* event_type);
/*
* Removes the specified event listener