[gtksourceview/wip/minimap] backport change



commit 0f33f7c0a2f6b3ad821d737c5c27bcd2a9eaeee5
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Sun May 3 22:36:15 2015 +0200

    backport change
    
    https://git.gnome.org/browse/gnome-builder/commit/?id=7d857589ce713f214951dd2e2716323dc4b7df9d

 gtksourceview/gtksourcemap.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/gtksourceview/gtksourcemap.c b/gtksourceview/gtksourcemap.c
index 0c4003b..afba570 100644
--- a/gtksourceview/gtksourcemap.c
+++ b/gtksourceview/gtksourcemap.c
@@ -770,9 +770,8 @@ gtk_source_map_get_child_position (GtkOverlay   *overlay,
 
        gtk_widget_get_allocation (GTK_WIDGET (overlay), &our_alloc);
 
-       /* adjust box to not cover line changes */
-       alloc->x = 3;
-       alloc->width = our_alloc.width - alloc->x;
+       alloc->x = 0;
+       alloc->width = our_alloc.width;
 
        gtk_widget_get_preferred_height (child, NULL, &alloc->height);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]