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/gtkoldeditable.c | |
parent | 3a3468024984ecb9617af5422c76e5a57240c9d0 (diff) | |
download | gdk-pixbuf-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/gtkoldeditable.c')
-rw-r--r-- | gtk/gtkoldeditable.c | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/gtk/gtkoldeditable.c b/gtk/gtkoldeditable.c index caca8890c..5ec2eeb09 100644 --- a/gtk/gtkoldeditable.c +++ b/gtk/gtkoldeditable.c @@ -31,6 +31,7 @@ #include "gtkclipboard.h" #include "gtkoldeditable.h" #include "gtkmain.h" +#include "gtkmarshalers.h" #include "gtkselection.h" #include "gtksignal.h" @@ -206,7 +207,7 @@ gtk_old_editable_class_init (GtkOldEditableClass *class) GTK_RUN_LAST | GTK_RUN_ACTION, GTK_CLASS_TYPE (object_class), GTK_SIGNAL_OFFSET (GtkOldEditableClass, activate), - gtk_marshal_NONE__NONE, + _gtk_marshal_NONE__NONE, GTK_TYPE_NONE, 0); widget_class->activate_signal = editable_signals[ACTIVATE]; @@ -215,7 +216,7 @@ gtk_old_editable_class_init (GtkOldEditableClass *class) GTK_RUN_LAST | GTK_RUN_ACTION, GTK_CLASS_TYPE (object_class), GTK_SIGNAL_OFFSET (GtkOldEditableClass, set_editable), - gtk_marshal_NONE__BOOL, + _gtk_marshal_NONE__BOOLEAN, GTK_TYPE_NONE, 1, GTK_TYPE_BOOL); @@ -224,7 +225,7 @@ gtk_old_editable_class_init (GtkOldEditableClass *class) GTK_RUN_LAST | GTK_RUN_ACTION, GTK_CLASS_TYPE (object_class), GTK_SIGNAL_OFFSET (GtkOldEditableClass, move_cursor), - gtk_marshal_NONE__INT_INT, + _gtk_marshal_NONE__INT_INT, GTK_TYPE_NONE, 2, GTK_TYPE_INT, GTK_TYPE_INT); @@ -234,7 +235,7 @@ gtk_old_editable_class_init (GtkOldEditableClass *class) GTK_RUN_LAST | GTK_RUN_ACTION, GTK_CLASS_TYPE (object_class), GTK_SIGNAL_OFFSET (GtkOldEditableClass, move_word), - gtk_marshal_NONE__INT, + _gtk_marshal_NONE__INT, GTK_TYPE_NONE, 1, GTK_TYPE_INT); @@ -243,7 +244,7 @@ gtk_old_editable_class_init (GtkOldEditableClass *class) GTK_RUN_LAST | GTK_RUN_ACTION, GTK_CLASS_TYPE (object_class), GTK_SIGNAL_OFFSET (GtkOldEditableClass, move_page), - gtk_marshal_NONE__INT_INT, + _gtk_marshal_NONE__INT_INT, GTK_TYPE_NONE, 2, GTK_TYPE_INT, GTK_TYPE_INT); @@ -253,7 +254,7 @@ gtk_old_editable_class_init (GtkOldEditableClass *class) GTK_RUN_LAST | GTK_RUN_ACTION, GTK_CLASS_TYPE (object_class), GTK_SIGNAL_OFFSET (GtkOldEditableClass, move_to_row), - gtk_marshal_NONE__INT, + _gtk_marshal_NONE__INT, GTK_TYPE_NONE, 1, GTK_TYPE_INT); @@ -262,7 +263,7 @@ gtk_old_editable_class_init (GtkOldEditableClass *class) GTK_RUN_LAST | GTK_RUN_ACTION, GTK_CLASS_TYPE (object_class), GTK_SIGNAL_OFFSET (GtkOldEditableClass, move_to_column), - gtk_marshal_NONE__INT, + _gtk_marshal_NONE__INT, GTK_TYPE_NONE, 1, GTK_TYPE_INT); @@ -271,7 +272,7 @@ gtk_old_editable_class_init (GtkOldEditableClass *class) GTK_RUN_LAST | GTK_RUN_ACTION, GTK_CLASS_TYPE (object_class), GTK_SIGNAL_OFFSET (GtkOldEditableClass, kill_char), - gtk_marshal_NONE__INT, + _gtk_marshal_NONE__INT, GTK_TYPE_NONE, 1, GTK_TYPE_INT); @@ -280,7 +281,7 @@ gtk_old_editable_class_init (GtkOldEditableClass *class) GTK_RUN_LAST | GTK_RUN_ACTION, GTK_CLASS_TYPE (object_class), GTK_SIGNAL_OFFSET (GtkOldEditableClass, kill_word), - gtk_marshal_NONE__INT, + _gtk_marshal_NONE__INT, GTK_TYPE_NONE, 1, GTK_TYPE_INT); @@ -289,7 +290,7 @@ gtk_old_editable_class_init (GtkOldEditableClass *class) GTK_RUN_LAST | GTK_RUN_ACTION, GTK_CLASS_TYPE (object_class), GTK_SIGNAL_OFFSET (GtkOldEditableClass, kill_line), - gtk_marshal_NONE__INT, + _gtk_marshal_NONE__INT, GTK_TYPE_NONE, 1, GTK_TYPE_INT); @@ -298,7 +299,7 @@ gtk_old_editable_class_init (GtkOldEditableClass *class) GTK_RUN_LAST | GTK_RUN_ACTION, GTK_CLASS_TYPE (object_class), GTK_SIGNAL_OFFSET (GtkOldEditableClass, cut_clipboard), - gtk_marshal_NONE__NONE, + _gtk_marshal_NONE__NONE, GTK_TYPE_NONE, 0); editable_signals[COPY_CLIPBOARD] = @@ -306,7 +307,7 @@ gtk_old_editable_class_init (GtkOldEditableClass *class) GTK_RUN_LAST | GTK_RUN_ACTION, GTK_CLASS_TYPE (object_class), GTK_SIGNAL_OFFSET (GtkOldEditableClass, copy_clipboard), - gtk_marshal_NONE__NONE, + _gtk_marshal_NONE__NONE, GTK_TYPE_NONE, 0); editable_signals[PASTE_CLIPBOARD] = @@ -314,7 +315,7 @@ gtk_old_editable_class_init (GtkOldEditableClass *class) GTK_RUN_LAST | GTK_RUN_ACTION, GTK_CLASS_TYPE (object_class), GTK_SIGNAL_OFFSET (GtkOldEditableClass, paste_clipboard), - gtk_marshal_NONE__NONE, + _gtk_marshal_NONE__NONE, GTK_TYPE_NONE, 0); gtk_object_add_arg_type ("GtkOldEditable::text_position", GTK_TYPE_INT, GTK_ARG_READWRITE, ARG_TEXT_POSITION); |