summaryrefslogtreecommitdiff
path: root/glib/ghook.h
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>2001-04-29 03:04:27 +0000
committerTim Janik <timj@src.gnome.org>2001-04-29 03:04:27 +0000
commitabc5cbbe3e1f6e6bdc40d94741713e9efb6d580d (patch)
tree2bd011e12c7e43743dd154d4fd95665791e617e5 /glib/ghook.h
parent655d467602853052251c10a24f1b62ed1cf72793 (diff)
downloadglib-abc5cbbe3e1f6e6bdc40d94741713e9efb6d580d.tar.gz
made hook ids a gulong.
Sun Apr 29 00:37:34 2001 Tim Janik <timj@gtk.org> * ghook.[hc]: made hook ids a gulong. Sat Apr 28 23:39:42 2001 Tim Janik <timj@gtk.org> * gsignal.[hc]: made signal handler and emission hook ids gulongs. (signal_handlers_foreach_matched_R): only invoke callback for handlers that are not disconnected (id>0). (signal_emit_R): prevent invocation of signal handlers during the emission they were connected within. * glib-mkenums: publically installed perl-script to parse C code enums and generate descriptions thereof. * glib-mkenums.1: assorted man page.
Diffstat (limited to 'glib/ghook.h')
-rw-r--r--glib/ghook.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/glib/ghook.h b/glib/ghook.h
index 2f96d0d22..8942e5ada 100644
--- a/glib/ghook.h
+++ b/glib/ghook.h
@@ -60,7 +60,7 @@ typedef enum
/* --- structures --- */
struct _GHookList
{
- guint seq_id;
+ gulong seq_id;
guint hook_size : 16;
guint is_setup : 1;
GHook *hooks;
@@ -73,7 +73,7 @@ struct _GHook
GHook *next;
GHook *prev;
guint ref_count;
- guint hook_id;
+ gulong hook_id;
guint flags;
gpointer func;
GDestroyNotify destroy;
@@ -109,7 +109,7 @@ void g_hook_ref (GHookList *hook_list,
void g_hook_unref (GHookList *hook_list,
GHook *hook);
gboolean g_hook_destroy (GHookList *hook_list,
- guint hook_id);
+ gulong hook_id);
void g_hook_destroy_link (GHookList *hook_list,
GHook *hook);
void g_hook_prepend (GHookList *hook_list,
@@ -121,7 +121,7 @@ void g_hook_insert_sorted (GHookList *hook_list,
GHook *hook,
GHookCompareFunc func);
GHook* g_hook_get (GHookList *hook_list,
- guint hook_id);
+ gulong hook_id);
GHook* g_hook_find (GHookList *hook_list,
gboolean need_valids,
GHookFindFunc func,