summaryrefslogtreecommitdiff
path: root/gtk/gtktextbuffer.h
diff options
context:
space:
mode:
authorPaolo Borelli <pborelli@katamail.com>2009-01-12 17:07:35 +0000
committerPaolo Borelli <pborelli@src.gnome.org>2009-01-12 17:07:35 +0000
commit1a7c0ed0996997fc45cbd71ea4eb6809b11ed89f (patch)
treedde61b68ef5085f57e56772be72a969ab07e5025 /gtk/gtktextbuffer.h
parent8a604cfe57ec57abae0edf3a50063218db4707eb (diff)
downloadgtk+-1a7c0ed0996997fc45cbd71ea4eb6809b11ed89f.tar.gz
Bug 492794 – Pasting external text at end of view yields wrong scrolling
2009-01-12 Paolo Borelli <pborelli@katamail.com> Bug 492794 – Pasting external text at end of view yields wrong scrolling to mark * gtk/gtktextbuffer.[ch]: * gtk/gtktextview.c: Add a "paste-done" signal and use it to propelry scroll the view at the end of the pasted text in the case of an async paste. Patch by Ignacio Casal Quintero based on a patch by Yevgen Muntyan. svn path=/trunk/; revision=22100
Diffstat (limited to 'gtk/gtktextbuffer.h')
-rw-r--r--gtk/gtktextbuffer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtktextbuffer.h b/gtk/gtktextbuffer.h
index fd1131410a..d160c49065 100644
--- a/gtk/gtktextbuffer.h
+++ b/gtk/gtktextbuffer.h
@@ -143,13 +143,15 @@ struct _GtkTextBufferClass
void (* begin_user_action) (GtkTextBuffer *buffer);
void (* end_user_action) (GtkTextBuffer *buffer);
+ void (* paste_done) (GtkTextBuffer *buffer,
+ GtkClipboard *clipboard);
+
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
void (*_gtk_reserved5) (void);
- void (*_gtk_reserved6) (void);
};
GType gtk_text_buffer_get_type (void) G_GNUC_CONST;