[gtksourceview/wip/gutter: 3/3] Gutter: add a FIXME about the xpad



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]