diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-11-17 23:28:51 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-11-17 23:28:51 +0000 |
commit | a036c6e59f27ce53950c64a7672fa2cf51b21f19 (patch) | |
tree | 0518e9cea97df1e5d4aeca65be4d2ccc95a5447d /gtk/gtkspinbutton.c | |
parent | 3a3468024984ecb9617af5422c76e5a57240c9d0 (diff) | |
download | gtk+-a036c6e59f27ce53950c64a7672fa2cf51b21f19.tar.gz |
Make gtkmarshal.list/gtkmarshal.h only for compatibility with GTK+-1.2;
Sat Nov 17 18:26:45 2001 Owen Taylor <otaylor@redhat.com>
* gtk/Makefile.am gtk/gtkmarshal.list gtk/gtkmarshalers.list
gtk/*.c gtk/gtksignal.h: Make gtkmarshal.list/gtkmarshal.h
only for compatibility with GTK+-1.2; and deprecate it;
put all marshalers we actually use into gtkmarshalers.list
and use the _gtk_marshal_ prefix for these marshalers.
Diffstat (limited to 'gtk/gtkspinbutton.c')
-rw-r--r-- | gtk/gtkspinbutton.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c index c0a2cb0406..172120234b 100644 --- a/gtk/gtkspinbutton.c +++ b/gtk/gtkspinbutton.c @@ -35,6 +35,7 @@ #include "gdk/gdkkeysyms.h" #include "gtkspinbutton.h" #include "gtkmain.h" +#include "gtkmarshalers.h" #include "gtksignal.h" #include "gtksettings.h" #include "gtkintl.h" @@ -289,7 +290,7 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class) GTK_RUN_LAST, GTK_CLASS_TYPE (object_class), GTK_SIGNAL_OFFSET (GtkSpinButtonClass, input), - gtk_marshal_INT__POINTER, + _gtk_marshal_INT__POINTER, GTK_TYPE_INT, 1, GTK_TYPE_POINTER); spinbutton_signals[OUTPUT] = @@ -298,7 +299,7 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class) G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET(GtkSpinButtonClass, output), _gtk_boolean_handled_accumulator, NULL, - gtk_marshal_BOOLEAN__VOID, + _gtk_marshal_BOOLEAN__VOID, G_TYPE_BOOLEAN, 0); spinbutton_signals[VALUE_CHANGED] = @@ -306,7 +307,7 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class) GTK_RUN_LAST, GTK_CLASS_TYPE (object_class), GTK_SIGNAL_OFFSET (GtkSpinButtonClass, value_changed), - gtk_marshal_VOID__VOID, + _gtk_marshal_VOID__VOID, GTK_TYPE_NONE, 0); } |