mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-06 02:40:07 +00:00
textview: Fix an erroneous unref
This was left behind by accident in 0ee58e9ef4
.
This commit is contained in:
parent
754d6d1a04
commit
0a19d7ef08
@ -8147,8 +8147,6 @@ gtk_text_view_value_changed (GtkAdjustment *adjustment,
|
|||||||
{
|
{
|
||||||
if (gdk_event_get_event_type (current_event) == GDK_SCROLL)
|
if (gdk_event_get_event_type (current_event) == GDK_SCROLL)
|
||||||
move_mark_to_pointer_and_scroll (text_view, "insert");
|
move_mark_to_pointer_and_scroll (text_view, "insert");
|
||||||
|
|
||||||
gdk_event_unref (current_event);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user