diff options
author | Matthias Clasen <mclasen@redhat.com> | 2013-03-01 17:19:39 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-03-05 16:48:01 -0500 |
commit | 190dcfe050814e979c364bf74ae83530aba4c686 (patch) | |
tree | fe9249f660f620371bb353bf3c8157feae31f0e6 /gtk/gtktextview.c | |
parent | 88623b98a7ca0afca08ac21bc3aa662c6ed3ab7f (diff) | |
download | gtk+-190dcfe050814e979c364bf74ae83530aba4c686.tar.gz |
Popdown the bubble window when text view is scrolled
Diffstat (limited to 'gtk/gtktextview.c')
-rw-r--r-- | gtk/gtktextview.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c index 8efb5870ef..57b858d5ed 100644 --- a/gtk/gtktextview.c +++ b/gtk/gtktextview.c @@ -9091,8 +9091,12 @@ text_window_scroll (GtkTextWindow *win, gint dx, gint dy) { + GtkTextView *view = GTK_TEXT_VIEW (win->widget); + GtkTextViewPrivate *priv = view->priv; + if (dx != 0 || dy != 0) { + gtk_bubble_window_popdown (GTK_BUBBLE_WINDOW (priv->selection_bubble)); gdk_window_scroll (win->bin_window, dx, dy); } } |