diff options
author | Benjamin Otte <otte@redhat.com> | 2010-08-28 23:51:58 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-09-26 15:11:32 +0200 |
commit | e316157671d0ab67dc9dd7de8f961df80a84f6db (patch) | |
tree | ac87e0b3bffe97c6f4a2b634a93c639b04306578 /docs/tools | |
parent | a9f198082ae3f4de921c9f1e66cac6509902f863 (diff) | |
download | gtk+-e316157671d0ab67dc9dd7de8f961df80a84f6db.tar.gz |
API: gdk_pixbuf_get_from_drawable() => gdk_pixbuf_get_from_window()
The Colormap argument needed to be removed, so the renaming is just a
side effect.
Diffstat (limited to 'docs/tools')
-rw-r--r-- | docs/tools/shooter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tools/shooter.c b/docs/tools/shooter.c index d73117bcc9..4b31f034ae 100644 --- a/docs/tools/shooter.c +++ b/docs/tools/shooter.c @@ -163,8 +163,8 @@ take_window_shot (Window child, if (y_orig + height > gdk_screen_height ()) height = gdk_screen_height () - y_orig; - tmp = gdk_pixbuf_get_from_drawable (NULL, window, NULL, - x, y, 0, 0, width, height); + tmp = gdk_pixbuf_get_from_window (NULL, window, + x, y, 0, 0, width, height); if (include_decoration) tmp2 = remove_shaped_area (tmp, xid); |