The function gdk_window_get_device_position() doesn't accept an integer/enum for device pointer (GDK_SOURCE_MOUSE)... And it crashes and it's really annoying. I can't select some change pieces from a file for a selective commit.
So, where you find: ./gitg/gitg-commit-view.c line 970: gdk_window_get_device_position (win, GDK_SOURCE_MOUSE, &x, &y, NULL); should be replaced by: GdkDeviceManager *device_manager = gdk_display_get_device_manager(gdk_window_get_display(win)); GdkDevice *pointer = gdk_device_manager_get_client_pointer (device_manager); gdk_window_get_device_position (win, pointer, &x, &y, NULL); and ./gitg/gitg-dnd.c: gdk_window_get_device_position (gtk_tree_view_get_bin_window (data->tree_view), GDK_SOURCE_MOUSE, NULL, &y, NULL); should be replace by: GdkWindow *win = gtk_tree_view_get_bin_window (data->tree_view); GdkDeviceManager *device_manager = gdk_display_get_device_manager(gdk_window_get_display(win)); GdkDevice *pointer = gdk_device_manager_get_client_pointer (device_manager); gdk_window_get_device_position (win, pointer, NULL, &y, NULL); Regards. -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org