devel-docs: Undeprecate tools/shooter.c

This commit is contained in:
Martin Nordholts
2011-07-05 18:38:09 +02:00
parent 1c0115ec95
commit ef5cc5fdee

View File

@ -148,9 +148,10 @@ take_window_shot (Window child,
else
xid = child;
window = gdk_window_foreign_new_for_display (display, xid);
window = gdk_x11_window_foreign_new_for_display (display, xid);
gdk_drawable_get_size (window, &width, &height);
width = gdk_window_get_width (window);
height = gdk_window_get_height (window);
gdk_window_get_origin (window, &x_orig, &y_orig);
if (x_orig < 0)