[gtksourceview/wip/gutter: 3/3] Gutter: add a FIXME about the xpad
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/gutter: 3/3] Gutter: add a FIXME about the xpad
- Date: Tue, 3 Sep 2013 21:27:20 +0000 (UTC)
commit 527c7272d42536e0457972e0070ec810de759e8a
Author: Sébastien Wilmet <swilmet gnome org>
Date: Tue Sep 3 23:26:29 2013 +0200
Gutter: add a FIXME about the xpad
gtksourceview/gtksourcegutter.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtksourceview/gtksourcegutter.c b/gtksourceview/gtksourcegutter.c
index e0a72e0..37c42b0 100644
--- a/gtksourceview/gtksourcegutter.c
+++ b/gtksourceview/gtksourcegutter.c
@@ -408,6 +408,8 @@ calculate_gutter_size (GtkSourceGutter *gutter,
g_array_append_val (sizes, width);
}
+ /* FIXME: if renderer is not visible, the xpad should probably
+ * not be added. */
total_width += width + gutter->priv->xpad;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]