diff options
author | Jonathon Jongsma <jjongsma@gnome.org> | 2007-07-04 14:54:23 -0500 |
---|---|---|
committer | Jonathon Jongsma <jjongsma@gnome.org> | 2007-07-04 15:24:17 -0500 |
commit | e10c4e12f7948cd6325812cbb089537231b1144e (patch) | |
tree | e73e074d9bcbcbf27413a1ff1dc0093c5ee6cbf0 /examples/text-rotate/text-rotate.cc | |
parent | ebd5ef60afb32e88b0ab8c4c690aea3fc5b82085 (diff) |
examples/, tests/: fix a bunch of minor compile errors when compiling with -Werror
Diffstat (limited to 'examples/text-rotate/text-rotate.cc')
-rw-r--r-- | examples/text-rotate/text-rotate.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/text-rotate/text-rotate.cc b/examples/text-rotate/text-rotate.cc index 2dbe798..14912ef 100644 --- a/examples/text-rotate/text-rotate.cc +++ b/examples/text-rotate/text-rotate.cc @@ -1,4 +1,3 @@ -/* /* Copyright (C) 2005 The cairomm Development Team * * This library is free software; you can redistribute it and/or @@ -55,7 +54,7 @@ void draw(Cairo::RefPtr<Cairo::Context> cr, int width, int height) cr->set_source_rgb(0.0, 0.0, 0.0); - cr->translate(WIDTH / 2.0, HEIGHT / 2.0); + cr->translate(width / 2.0, height / 2.0); cr->get_text_extents(text, extents); |