[gtksourceview] Fix height parameter calculation in gutter_renderer_pixbuf_draw()
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] Fix height parameter calculation in gutter_renderer_pixbuf_draw()
- Date: Sun, 11 Jan 2015 21:17:01 +0000 (UTC)
commit 013432f1b53215b5ad0f6d7a091779a3580a9f99
Author: Maks Naumov <maksqwe1 ukr net>
Date: Sat Jan 10 04:22:11 2015 -0800
Fix height parameter calculation in gutter_renderer_pixbuf_draw()
Signed-off-by: Maks Naumov <maksqwe1 ukr net>
https://bugzilla.gnome.org/show_bug.cgi?id=742705
gtksourceview/gtksourcegutterrendererpixbuf.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtksourceview/gtksourcegutterrendererpixbuf.c b/gtksourceview/gtksourcegutterrendererpixbuf.c
index 5f0b00b..1012b17 100644
--- a/gtksourceview/gtksourcegutterrendererpixbuf.c
+++ b/gtksourceview/gtksourcegutterrendererpixbuf.c
@@ -115,7 +115,7 @@ gutter_renderer_pixbuf_draw (GtkSourceGutterRenderer *renderer,
}
width = gdk_pixbuf_get_width (pixbuf);
- height = gdk_pixbuf_get_width (pixbuf);
+ height = gdk_pixbuf_get_height (pixbuf);
gtk_source_gutter_renderer_get_alignment (renderer,
&xalign,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]