After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 742705 - Incorrect height parameter receiving from pixbuf in gutter_renderer_pixbuf_draw()
Incorrect height parameter receiving from pixbuf in gutter_renderer_pixbuf_dr...
Status: RESOLVED FIXED
Product: gtksourceview
Classification: Platform
Component: General
3.15.x
Other All
: Normal normal
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2015-01-10 12:38 UTC by maksqwe
Modified: 2015-01-11 21:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch (965 bytes, patch)
2015-01-10 12:38 UTC, maksqwe
accepted-commit_now Details | Review

Description maksqwe 2015-01-10 12:38:45 UTC
Created attachment 294221 [details] [review]
Patch

gtksourcegutterrendererpixbuf.c 118

width = gdk_pixbuf_get_width (pixbuf);
height = gdk_pixbuf_get_width (pixbuf);

I think should be:
height = gdk_pixbuf_get_height (pixbuf);

Patch attached.
Comment 1 jessevdk@gmail.com 2015-01-10 15:34:26 UTC
Review of attachment 294221 [details] [review]:

Looks good
Comment 2 Sébastien Wilmet 2015-01-11 21:17:16 UTC
Commit pushed, thanks.