diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2007-01-16 20:20:35 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2007-01-16 20:20:35 +0000 |
commit | a0225fbf560de93c7b41acf9dbf01c9d99173af9 (patch) | |
tree | bb8f58010c8801a27545728393253b6c4722c6c4 /pango-view/viewer-pangocairo.c | |
parent | 0ee36da9691c2311d2134fd61f222ea3bed5827e (diff) | |
download | pango-a0225fbf560de93c7b41acf9dbf01c9d99173af9.tar.gz |
*.c, *.h: Replace preceding sequences of 8 spaces with tabs.
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
*.c, *.h: Replace preceding sequences of 8 spaces with tabs.
svn path=/trunk/; revision=2165
Diffstat (limited to 'pango-view/viewer-pangocairo.c')
-rw-r--r-- | pango-view/viewer-pangocairo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pango-view/viewer-pangocairo.c b/pango-view/viewer-pangocairo.c index 50eae22f..10aaccc4 100644 --- a/pango-view/viewer-pangocairo.c +++ b/pango-view/viewer-pangocairo.c @@ -99,7 +99,7 @@ typedef struct static gpointer pangocairo_view_create_surface (gpointer instance, - int width, + int width, int height) { CairoViewer *c = (CairoViewer *) instance; @@ -220,7 +220,7 @@ render_callback (PangoLayout *layout, cairo_set_source_rgba (cr, 1.0, 0.5, 0.0, 0.5); iter = pango_layout_get_iter (layout); do - { + { PangoLayoutLine *line = pango_layout_iter_get_line (iter); double width = (double)logical.width / PANGO_SCALE; @@ -241,7 +241,7 @@ render_callback (PangoLayout *layout, cairo_close_path (cr); cairo_fill (cr); cairo_restore (cr); - } + } while (pango_layout_iter_next_line (iter)); pango_layout_iter_free (iter); cairo_restore (cr); |