wok-next diff libgtkimageview/stuff/patches/gcc6.patch @ rev 21115
Update gtk3
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jan 12 17:51:19 2019 +0200 (2019-01-12) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libgtkimageview/stuff/patches/gcc6.patch Sat Jan 12 17:51:19 2019 +0200 1.3 @@ -0,0 +1,18 @@ 1.4 +Description: Fix indentation to allow building with GCC 6. 1.5 +Author: Johannes Brandstätter <jbrandst@2ds.eu> 1.6 +Bug-Debian: https://bugs.debian.org/831117 1.7 +Last-Update: <2016-09-24> 1.8 + 1.9 +--- gtkimageview-1.6.4+dfsg.orig/src/gtkimagenav.c 1.10 ++++ gtkimageview-1.6.4+dfsg/src/gtkimagenav.c 1.11 +@@ -71,8 +71,8 @@ static Size 1.12 + gtk_image_nav_get_preview_size (GtkImageNav *nav) 1.13 + { 1.14 + GdkPixbuf *pixbuf = gtk_image_view_get_pixbuf (nav->view); 1.15 +- if (!pixbuf) 1.16 +- return (Size){GTK_IMAGE_NAV_MAX_WIDTH, GTK_IMAGE_NAV_MAX_HEIGHT}; 1.17 ++ if (!pixbuf) 1.18 ++ return (Size){GTK_IMAGE_NAV_MAX_WIDTH, GTK_IMAGE_NAV_MAX_HEIGHT}; 1.19 + int img_width = gdk_pixbuf_get_width (pixbuf); 1.20 + int img_height = gdk_pixbuf_get_height (pixbuf); 1.21 +