Removed a leftover TODO note in area_unix.go.

This commit is contained in:
Pietro Gagliardi 2014-06-02 22:10:23 -04:00
parent 99059483a7
commit b62fd3279f
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ func makeModifiers(state C.guint) (m Modifiers) {
func finishMouseEvent(widget *C.GtkWidget, data C.gpointer, me MouseEvent, mb uint, x C.gdouble, y C.gdouble, state C.guint, gdkwindow *C.GdkWindow) { func finishMouseEvent(widget *C.GtkWidget, data C.gpointer, me MouseEvent, mb uint, x C.gdouble, y C.gdouble, state C.guint, gdkwindow *C.GdkWindow) {
var areawidth, areaheight C.gint var areawidth, areaheight C.gint
// on GTK+, mouse buttons 4-7 are for scrolling; if we got here, that's a mistake (and see the TODOs on return values below) // on GTK+, mouse buttons 4-7 are for scrolling; if we got here, that's a mistake
if mb >= 4 && mb <= 7 { if mb >= 4 && mb <= 7 {
return return
} }