diff options
Diffstat (limited to 'docs/tools/shooter.c')
-rw-r--r-- | docs/tools/shooter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tools/shooter.c b/docs/tools/shooter.c index 873609d972..f9492f62e1 100644 --- a/docs/tools/shooter.c +++ b/docs/tools/shooter.c @@ -224,7 +224,7 @@ int main (int argc, char **argv) gtk_main_iteration (); } - id = gdk_x11_drawable_get_xid (GDK_DRAWABLE (window)); + id = gdk_x11_window_get_xid (window); screenshot = take_window_shot (id, info->include_decorations); filename = g_strdup_printf ("./%s.png", info->name); gdk_pixbuf_save (screenshot, filename, "png", NULL, NULL); |