[librsvg] Remove unused member 'orientation'
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] Remove unused member 'orientation'
- Date: Fri, 25 Nov 2011 21:44:28 +0000 (UTC)
commit 26c545511bd0ba15d79f0df18ab80ea19ff8cb1e
Author: KUROSAWA Takeshi <taken spc gmail com>
Date: Sat Nov 26 00:10:17 2011 +0900
Remove unused member 'orientation'
RsvgTextLayout's 'orientation' is never used.
Bug #664533.
rsvg-text.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/rsvg-text.c b/rsvg-text.c
index cad5d7f..7417054 100644
--- a/rsvg-text.c
+++ b/rsvg-text.c
@@ -424,7 +424,6 @@ struct _RsvgTextLayout {
RsvgDrawingCtx *ctx;
TextAnchor anchor;
gdouble x, y;
- gboolean orientation;
};
static void
@@ -567,8 +566,6 @@ rsvg_text_length_text_as_string (RsvgDrawingCtx * ctx, const char *text)
layout = rsvg_text_layout_new (ctx, rsvg_current_state (ctx), text);
layout->x = layout->y = 0;
- layout->orientation = rsvg_current_state (ctx)->text_dir == PANGO_DIRECTION_TTB_LTR ||
- rsvg_current_state (ctx)->text_dir == PANGO_DIRECTION_TTB_RTL;
x = rsvg_text_layout_width (layout);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]