diff options
author | Tim Janik <timj@gimp.org> | 1998-02-10 23:49:15 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-02-10 23:49:15 +0000 |
commit | 2090cc650c7d1c391f1d78d85469b5589982f790 (patch) | |
tree | 21aff3b0f6c9d5ca53a846ee81dba30db66c4dd4 /gtk/gtksignal.h | |
parent | 13179d42a0d2449e53c19351ca18168f333509a7 (diff) | |
download | gdk-pixbuf-2090cc650c7d1c391f1d78d85469b5589982f790.tar.gz |
new function gtk_signal_handler_pending() returning the id of the next
Wed Feb 11 00:18:31 1998 Tim Janik <timj@gimp.org>
* gtk/gtksignal.h:
* gtk/gtksignal.c: new function gtk_signal_handler_pending() returning
the id of the next handler pending for that signal or 0.
put struct GtkHandler back into gtksignal.c along with
gtk_signal_get_handlers.
Diffstat (limited to 'gtk/gtksignal.h')
-rw-r--r-- | gtk/gtksignal.h | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/gtk/gtksignal.h b/gtk/gtksignal.h index e6c66f031..2212d8bb3 100644 --- a/gtk/gtksignal.h +++ b/gtk/gtksignal.h @@ -45,7 +45,6 @@ typedef void (*GtkSignalMarshal) (GtkObject *object, typedef void (*GtkSignalDestroy) (gpointer data); typedef struct _GtkSignalQuery GtkSignalQuery; -typedef struct _GtkHandler GtkHandler; struct _GtkSignalQuery { @@ -58,22 +57,6 @@ struct _GtkSignalQuery const GtkType *params; }; -struct _GtkHandler -{ - guint id : 28; - guint blocked : 1; - guint object_signal : 1; - guint after : 1; - guint no_marshal : 1; - guint16 ref_count; - guint16 signal_type; - GtkSignalFunc func; - gpointer func_data; - GtkSignalDestroy destroy_func; - GtkHandler *prev; - GtkHandler *next; -}; - gint gtk_signal_new (const gchar *name, GtkSignalRunType run_type, gint object_type, @@ -148,6 +131,9 @@ void gtk_signal_handler_unblock (GtkObject *object, gint anid); void gtk_signal_handler_unblock_by_data (GtkObject *object, gpointer data); +guint gtk_signal_handler_pending (GtkObject *object, + gint signal_type, + gboolean may_be_blocked); void gtk_signal_handlers_destroy (GtkObject *object); void gtk_signal_default_marshaller (GtkObject *object, GtkSignalFunc func, @@ -162,9 +148,6 @@ void gtk_signal_set_funcs (GtkSignalMarshal marshal_func, */ GtkSignalQuery* gtk_signal_query (gint signal_num); -GtkHandler* gtk_signal_get_handlers (GtkObject *object, - gint signal_type); - #ifdef __cplusplus } |