diff -Nru gitg-0.2.4/debian/changelog gitg-0.2.4/debian/changelog --- gitg-0.2.4/debian/changelog 2011-08-24 22:52:46.000000000 +0800 +++ gitg-0.2.4/debian/changelog 2012-04-29 14:03:44.000000000 +0800 @@ -1,3 +1,11 @@ +gitg (0.2.4-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Replaced deprecated gdk_window_get_pointer API. (Closes: #666232) + + debian/patches/ftbfs: Added. + + -- wujiang Sun, 29 Apr 2012 13:57:01 +0800 + gitg (0.2.4-1) unstable; urgency=low * New upstream release. diff -Nru gitg-0.2.4/debian/patches/ftbfs gitg-0.2.4/debian/patches/ftbfs --- gitg-0.2.4/debian/patches/ftbfs 1970-01-01 08:00:00.000000000 +0800 +++ gitg-0.2.4/debian/patches/ftbfs 2012-04-29 14:06:52.000000000 +0800 @@ -0,0 +1,27 @@ +Description: Replaced deprecated gdk_window_get_pointer API. +Author: Jiang Wu +Bug-Debian: http://bugs.debian.org/666232 +Last-Update: 2012-04-29 + +--- gitg-0.2.4.orig/gitg/gitg-dnd.c ++++ gitg-0.2.4/gitg/gitg-dnd.c +@@ -513,7 +513,7 @@ vertical_autoscroll (GitgDndData *data) + gint offset; + gfloat value; + +- gdk_window_get_pointer (gtk_tree_view_get_bin_window (data->tree_view), NULL, &y, NULL); ++ gdk_window_get_device_position (gtk_tree_view_get_bin_window (data->tree_view), GDK_SOURCE_MOUSE, NULL, &y, NULL); + gtk_tree_view_convert_bin_window_to_tree_coords (data->tree_view, 0, y, NULL, &y); + + gtk_tree_view_get_visible_rect (data->tree_view, &visible_rect); +--- gitg-0.2.4.orig/gitg/gitg-commit-view.c ++++ gitg-0.2.4/gitg/gitg-commit-view.c +@@ -967,7 +967,7 @@ get_info_at_pointer (GitgCommitView *vie + /* Get where the pointer really is. */ + GdkWindow *win = gtk_text_view_get_window (textview, GTK_TEXT_WINDOW_TEXT); + +- gdk_window_get_pointer (win, &x, &y, NULL); ++ gdk_window_get_device_position (win, GDK_SOURCE_MOUSE, &x, &y, NULL); + + width = gdk_window_get_width (win); + height = gdk_window_get_height (win); diff -Nru gitg-0.2.4/debian/patches/series gitg-0.2.4/debian/patches/series --- gitg-0.2.4/debian/patches/series 2011-08-24 22:52:46.000000000 +0800 +++ gitg-0.2.4/debian/patches/series 2012-04-29 13:54:14.000000000 +0800 @@ -1,2 +1,3 @@ 0001-Change-Categories-to-Development-RevisionControl.patch 0002-libgitg-make-a-static-library.patch +ftbfs