int is coerced in gdk function