diff options
author | Bill Haneman <billh@src.gnome.org> | 2001-05-14 16:48:51 +0000 |
---|---|---|
committer | Bill Haneman <billh@src.gnome.org> | 2001-05-14 16:48:51 +0000 |
commit | f7cb92b7ed8b83e58e3abf9d0ca6bfa6f02d7675 (patch) | |
tree | c2866a0099a22e563c93a147037097d2724f1c17 /atk/atkeditabletext.c | |
parent | 623b2b9ae5f05776950877f5ad7233947f31845c (diff) | |
download | atk-f7cb92b7ed8b83e58e3abf9d0ca6bfa6f02d7675.tar.gz |
Moved caret_moved and text_changed signals from AtkEditableText to AtkText.
Also un-commented the signal registration, and added default handlers for AtkText.
Diffstat (limited to 'atk/atkeditabletext.c')
-rwxr-xr-x | atk/atkeditabletext.c | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/atk/atkeditabletext.c b/atk/atkeditabletext.c index 2d65cc6..078e9b9 100755 --- a/atk/atkeditabletext.c +++ b/atk/atkeditabletext.c @@ -19,11 +19,6 @@ #include "atkeditabletext.h" -enum { - TEXT_CHANGED, - CARET_MOVED, - LAST_SIGNAL -}; struct _AtkEditableTextIfaceClass { @@ -32,13 +27,6 @@ struct _AtkEditableTextIfaceClass typedef struct _AtkEditableTextIfaceClass AtkEditableTextIfaceClass; -#if 0 -static void atk_editable_text_interface_init (AtkEditableTextIfaceClass *klass); - -static gpointer parent_class = NULL; -#endif - - GType atk_editable_text_get_type () { @@ -59,42 +47,6 @@ atk_editable_text_get_type () return type; } -/* - * Additional GObject properties exported by AtkText: - * "accessible_text" (accessible text has changed) - * "accessible_caret" (accessible text cursor position changed: - * editable text only) - */ - -#if 0 -static void -atk_editable_text_interface_init (AtkEditableTextIfaceClass *klass) -{ - parent_class = g_type_class_ref (ATK_TYPE_EDITABLE_TEXT); - - /* Note that text_changed signal supports details "insert", "delete", possibly "replace". */ - - atk_signals[TEXT_CHANGED] = - g_signal_newc ("text_changed", - G_TYPE_FROM_CLASS (klass), - G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED, - G_STRUCT_OFFSET (AtkEditableTextClass, text_changed), /* still need to declare and define this func */ - NULL, - g_cclosure_marshal_VOID__UINT_POINTER, - G_TYPE_NONE, - 2, G_TYPE_UINT, ATK_TYPE_OBJECT); - - atk_signals[CARET_MOVED] = - g_signal_newc ("text_caret_moved", - G_TYPE_FROM_CLASS (klass), - G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (AtkTextClass, caret_changed), /* still need to declare and define this func */ - NULL, - g_cclosure_marshal_VOID__UINT_POINTER, - G_TYPE_NONE, - 2, G_TYPE_UINT, ATK_TYPE_OBJECT); -} -#endif void atk_editable_text_select_text (AtkEditableText *text, |