diff options
author | Not Zed <NotZed@Ximian.com> | 2002-07-03 09:42:50 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2002-07-03 09:42:50 +0800 |
commit | d49a387afc10d7e43f582eda2d14cda03ae2bfe5 (patch) | |
tree | c945756ee1110a282f24e27277034bea7ef6eaaf /camel/camel-object.h | |
parent | df61377255d37dbc7d0436c46e8d679c8053176c (diff) | |
download | gsoc2013-evolution-d49a387afc10d7e43f582eda2d14cda03ae2bfe5.tar.gz gsoc2013-evolution-d49a387afc10d7e43f582eda2d14cda03ae2bfe5.tar.zst gsoc2013-evolution-d49a387afc10d7e43f582eda2d14cda03ae2bfe5.zip |
Take a void object arg. (camel_object_remove_event): "
2002-06-27 Not Zed <NotZed@Ximian.com>
* camel-object.c (camel_object_hook_event): Take a void object arg.
(camel_object_remove_event): "
(camel_object_unhook_event): "
(camel_object_trigger_event): ", also, execute events in the same
order they were added, i.e. reverse hook-list order.
svn path=/trunk/; revision=17359
Diffstat (limited to 'camel/camel-object.h')
-rw-r--r-- | camel/camel-object.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/camel/camel-object.h b/camel/camel-object.h index d6b3a64575..f35d5873d3 100644 --- a/camel/camel-object.h +++ b/camel/camel-object.h @@ -201,10 +201,10 @@ void camel_object_unref(void *); #endif /* hooks */ -CamelObjectHookID camel_object_hook_event(CamelObject *obj, const char *name, CamelObjectEventHookFunc hook, void *data); -void camel_object_remove_event(CamelObject *obj, CamelObjectHookID id); -void camel_object_unhook_event(CamelObject *obj, const char *name, CamelObjectEventHookFunc hook, void *data); -void camel_object_trigger_event(CamelObject *obj, const char *name, void *event_data); +CamelObjectHookID camel_object_hook_event(void *obj, const char *name, CamelObjectEventHookFunc hook, void *data); +void camel_object_remove_event(void *obj, CamelObjectHookID id); +void camel_object_unhook_event(void *obj, const char *name, CamelObjectEventHookFunc hook, void *data); +void camel_object_trigger_event(void *obj, const char *name, void *event_data); /* get/set methods */ int camel_object_set(void *obj, struct _CamelException *ex, ...); |