summaryrefslogtreecommitdiff
path: root/src/widget.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget.hh')
-rw-r--r--src/widget.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget.hh b/src/widget.hh
index 448ef58d..5e6b1bdc 100644
--- a/src/widget.hh
+++ b/src/widget.hh
@@ -576,7 +576,7 @@ private:
#if VTE_GTK == 3
unsigned read_modifiers_from_gdk(GdkEvent* event) const noexcept;
MouseEvent mouse_event_from_gdk(GdkEvent* event) const /* throws */;
- ScrollEvent scroll_event_from_gdk(GdkEvent* event) const /* throws */;
+ std::optional<ScrollEvent> scroll_event_from_gdk(GdkEvent* event) const;
#elif VTE_GTK == 4
MouseEvent mouse_event_from_gesture_click(EventBase::Type type,
GtkGestureClick* gesture,