Fix another mysterious GTK+ issue
This commit is contained in:
parent
a8796512d2
commit
c4dead2eee
|
@ -313,7 +313,9 @@ fastiv_view_scroll_event(GtkWidget *widget, GdkEventScroll *event)
|
||||||
case GDK_SCROLL_DOWN:
|
case GDK_SCROLL_DOWN:
|
||||||
return set_scale(self, self->scale / SCALE_STEP);
|
return set_scale(self, self->scale / SCALE_STEP);
|
||||||
default:
|
default:
|
||||||
return FALSE;
|
// For some reason, we can also get GDK_SCROLL_SMOOTH.
|
||||||
|
// Left/right are good to steal from GtkScrolledWindow for consistency.
|
||||||
|
return TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue