diff options
author | Tim Janik <timj@gtk.org> | 1998-07-14 07:40:15 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-07-14 07:40:15 +0000 |
commit | da355feec6ec673ac09f1b29f618bd9b444a3f47 (patch) | |
tree | a2e17e607d6d9ef2d62ac16da69d06bcda2c64e6 /gtk/gtksignal.c | |
parent | f38374c160d1fed2a4aab86a0674a7ea52b81639 (diff) | |
download | gtk+-da355feec6ec673ac09f1b29f618bd9b444a3f47.tar.gz |
display the current cursor name.
Tue Jul 14 06:25:46 1998 Tim Janik <timj@gtk.org>
* gtk/testgtk.c (create_cursors): display the current cursor name.
* gtk/gtktypeutils.h:
* gtk/gtktypeutils.c (gtk_type_init_builtin_types): cleanups to
the fundamental type definition. the GtkArg union now only covers
the required storage types for argument values. adapted the GTK_VALUE_*
macro set. handle GTK_TYPE_UCHAR. definiton of type set bounds macros.
* gtk/gtkargcollector.c (gtk_arg_collect_value): clean ups of the
code, fixed int/float collection. fixed a bug in the sanity checking
code for GtkObjects.
* gtk/gtkbindings.c (gtk_binding_entry_add_signal): fixups of the
argument collection code.
* gtk/gtksignal.c (gtk_signal_collect_params): use the type set bounds
macros when distinguishing the return type.
Diffstat (limited to 'gtk/gtksignal.c')
-rw-r--r-- | gtk/gtksignal.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/gtksignal.c b/gtk/gtksignal.c index 2fcbd3969b..c75659f9ec 100644 --- a/gtk/gtksignal.c +++ b/gtk/gtksignal.c @@ -1832,9 +1832,8 @@ gtk_signal_collect_params (GtkArg *params, return_type = GTK_FUNDAMENTAL_TYPE (return_type); if (return_type != GTK_TYPE_NONE) { - if ((return_type >= GTK_TYPE_CHAR && - return_type <= GTK_TYPE_BOXED) || - (return_type == GTK_TYPE_POINTER) || + if ((return_type >= GTK_TYPE_FLAT_FIRST && + return_type <= GTK_TYPE_FLAT_LAST) || (return_type == GTK_TYPE_OBJECT)) { GTK_VALUE_POINTER (*params) = va_arg (var_args, gpointer); |