move insert_text and delete_text virtual functions to do_insert_text and

Wed Oct  3 23:47:25  Kristian Rietveld  <kristian@planet.nl>

        * gtk/gtkeditable.[ch]: move insert_text and delete_text virtual
        functions to do_insert_text and do_delete_text, add signals
        insert_text, delete_text and changed

        * gtk/gtkentry.[ch]: remove signals insert_text, delete_text
        and changed. Updates to match new situation.

        * gtk/gtkspinbutton.c: updates to match new situation

        * gtk/gtkoldeditable.h: remove signals changed, insert_text
        and delete_text

        * gtk/gtkoldeditable.c: updates to match new situation

        * gtk/gtktext.c: updates to match new situation

        Fixes bug #59803
This commit is contained in:
Kristian Rietveld
2001-10-03 21:50:58 +00:00
committed by Kristian Rietveld
parent 77dc57e960
commit 3c09d348d3
15 changed files with 274 additions and 135 deletions

View File

@ -115,17 +115,6 @@ struct _GtkEntry
struct _GtkEntryClass
{
GtkWidgetClass parent_class;
/* Notification of changes
*/
void (* changed) (GtkEntry *entry);
void (* insert_text) (GtkEntry *entry,
const gchar *text,
gint length,
gint *position);
void (* delete_text) (GtkEntry *entry,
gint start_pos,
gint end_pos);
/* Hook to customize right-click popup */
void (* populate_popup) (GtkEntry *entry,