From a9de95392ebcdf6101a325c946a965e60b840ad0 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Thu, 31 Aug 2000 03:48:50 +0000 Subject: Add marshallers for changed GtkTextBuffer signals. 2000-08-30 Havoc Pennington * gtk/gtkmarshal.list: Add marshallers for changed GtkTextBuffer signals. * gtk/gtktextbuffer.h: Add "interactive" arg to insert_text and delete_text signals. This allows the signals to be used for implementing undo. * gtk/gtktextbuffer.c: Change signal handler signatures; provide "interactive" argument when emitting insert_text or delete_text signal. --- gtk/gtktextbuffer.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gtk/gtktextbuffer.h') diff --git a/gtk/gtktextbuffer.h b/gtk/gtktextbuffer.h index cb1226dca..63a620c8d 100644 --- a/gtk/gtktextbuffer.h +++ b/gtk/gtktextbuffer.h @@ -52,12 +52,14 @@ struct _GtkTextBufferClass { void (* insert_text) (GtkTextBuffer *buffer, GtkTextIter *pos, const gchar *text, - gint length); + gint length, + gboolean interactive); void (* delete_text) (GtkTextBuffer *buffer, GtkTextIter *start, - GtkTextIter *end); + GtkTextIter *end, + gboolean interactive); /* Only for text changed, marks/tags don't cause this to be emitted */ -- cgit v1.2.1