diff options
author | Benjamin Otte <otte@redhat.com> | 2010-09-20 16:55:33 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-09-26 15:11:45 +0200 |
commit | 9403e167b479ec6146c85073dba9bdd15e1d9b33 (patch) | |
tree | f7ac78180ddb803fa9b38c5c7d75ab7a489b921e /docs/tools | |
parent | aa70d351c4aa9f403e55bfd66b212153825b83d9 (diff) | |
download | gtk+-9403e167b479ec6146c85073dba9bdd15e1d9b33.tar.gz |
docs: Get rid of gdk_drawable_get_size() usage in shooter example
Diffstat (limited to 'docs/tools')
-rw-r--r-- | docs/tools/shooter.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/tools/shooter.c b/docs/tools/shooter.c index 4b31f034ae..ec3d551cfa 100644 --- a/docs/tools/shooter.c +++ b/docs/tools/shooter.c @@ -140,7 +140,8 @@ take_window_shot (Window child, window = gdk_window_foreign_new (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) |