GNOME Bugzilla – Bug 624221
Gtk-2.21 Missing accessor for GdkDevice.num_axis
Last modified: 2010-07-25 00:38:26 UTC
Corresponding function on master is gdk_device_get_n_axes
Created attachment 166049 [details] [review] Add gdk_device_get_n_axes
Review of attachment 166049 [details] [review]: instead of having the same function copied in three backends, how about having it in the common code?
(In reply to comment #2) > Review of attachment 166049 [details] [review]: > > instead of having the same function copied in three backends, how about having > it in the common code? AFAICT there was not a place to put such common code in 2.2X. Other simple functions like gdk_device_get_name are also duplicated. The device stuff in 3.X is much more sensible, so I didn't think it worth the effort to create a place to put common input functions just for this code.
(In reply to comment #3) > (In reply to comment #2) > > Review of attachment 166049 [details] [review] [details]: > > > > instead of having the same function copied in three backends, how about having > > it in the common code? > > AFAICT there was not a place to put such common code in 2.2X. Other simple > functions like gdk_device_get_name are also duplicated. > > The device stuff in 3.X is much more sensible, so I didn't think it worth the > effort to create a place to put common input functions just for this code. fair enough. please, commit after adding the new symbols to the section.txt for gtk-doc.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.