hid/gtk: Clean and make gport_set_cursor_type() more GTK3.0 compatible
commitcbd2f49e3b4f48c45e70b76ce207e9e76a81dcb8
authorPeter Clifton <pcjc2@cam.ac.uk>
Mon, 5 Sep 2011 12:34:34 +0000 (5 13:34 +0100)
committerPeter Clifton <pcjc2@cam.ac.uk>
Mon, 5 Sep 2011 13:33:46 +0000 (5 14:33 +0100)
tree53b3aee4f92c436bd959219a359adce92752cfa6
parentb372ca668852701f5e19b878ee3aa97361e377c8
hid/gtk: Clean and make gport_set_cursor_type() more GTK3.0 compatible

Also removes the DEFAULT_CURSOR return value (for the case of no window
being setup) to GDK_X_CURSOR (the 0 enum value), as the code path which
returned DEFAULT_CURSOR would never have been hit.
src/hid/gtk/gui-misc.c