docs: Remove unused variables in shooter example

This commit is contained in:
Benjamin Otte
2011-05-27 04:22:52 +02:00
parent b3ec31f8b6
commit d46deb35b2

View File

@ -121,8 +121,7 @@ take_window_shot (Window child,
gboolean include_decoration)
{
GdkWindow *window;
Display *disp;
Window w, xid;
Window xid;
gint x_orig, y_orig;
gint x = 0, y = 0;
gint width, height;
@ -130,9 +129,6 @@ take_window_shot (Window child,
GdkPixbuf *tmp, *tmp2;
GdkPixbuf *retval;
disp = GDK_DISPLAY_XDISPLAY (gdk_display_get_default ());
w = GDK_ROOT_WINDOW ();
if (include_decoration)
xid = find_toplevel_window (child);
else