Commit 190dcfe0 authored by Matthias Clasen's avatar Matthias Clasen

Popdown the bubble window when text view is scrolled

parent 88623b98
...@@ -9091,8 +9091,12 @@ text_window_scroll (GtkTextWindow *win, ...@@ -9091,8 +9091,12 @@ text_window_scroll (GtkTextWindow *win,
gint dx, gint dx,
gint dy) gint dy)
{ {
GtkTextView *view = GTK_TEXT_VIEW (win->widget);
GtkTextViewPrivate *priv = view->priv;
if (dx != 0 || dy != 0) if (dx != 0 || dy != 0)
{ {
gtk_bubble_window_popdown (GTK_BUBBLE_WINDOW (priv->selection_bubble));
gdk_window_scroll (win->bin_window, dx, dy); gdk_window_scroll (win->bin_window, dx, dy);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment