summaryrefslogtreecommitdiffstats
path: root/src/text.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-08 22:35:58 +0000
committerDavid Robillard <d@drobilla.net>2011-12-08 22:35:58 +0000
commitcb09240a5a56a414e817e65433859b0c398d729f (patch)
tree856333e0dc966a5465851a92426ad86188a5b5ed /src/text.c
parentcf71d7ee9914de3936456eebe6d87948b46b2e57 (diff)
downloadganv-cb09240a5a56a414e817e65433859b0c398d729f.tar.gz
ganv-cb09240a5a56a414e817e65433859b0c398d729f.tar.bz2
ganv-cb09240a5a56a414e817e65433859b0c398d729f.zip
Delete trailing whitespace.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3838 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/text.c')
-rw-r--r--src/text.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/text.c b/src/text.c
index 98fc471..b2e956c 100644
--- a/src/text.c
+++ b/src/text.c
@@ -135,7 +135,7 @@ ganv_text_layout(GanvText* text)
cairo_destroy(cr);
g_object_unref(layout);
pango_font_description_free(font);
-
+
impl->needs_layout = FALSE;
gnome_canvas_item_request_update(GNOME_CANVAS_ITEM(text));
}
@@ -185,7 +185,7 @@ ganv_text_get_property(GObject* object,
|| prop_id == PROP_HEIGHT)) {
ganv_text_layout(text);
}
-
+
switch (prop_id) {
GET_CASE(TEXT, string, impl->text);
GET_CASE(X, double, impl->coords.x);
@@ -308,7 +308,7 @@ ganv_text_draw(GnomeCanvasItem* item,
// Round to the nearest pixel so text isn't blurry
wx = lrint(wx - x);
wy = lrint(wy - y);
-
+
cairo_set_source_surface(cr, impl->surface, wx, wy);
cairo_paint(cr);