wok-next view libgtkimageview/stuff/patches/gcc6.patch @ rev 21037

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Nov 06 16:35:54 2018 +0200 (2018-11-06)
parents
children
line source
1 Description: Fix indentation to allow building with GCC 6.
2 Author: Johannes Brandstätter <jbrandst@2ds.eu>
3 Bug-Debian: https://bugs.debian.org/831117
4 Last-Update: <2016-09-24>
6 --- gtkimageview-1.6.4+dfsg.orig/src/gtkimagenav.c
7 +++ gtkimageview-1.6.4+dfsg/src/gtkimagenav.c
8 @@ -71,8 +71,8 @@ static Size
9 gtk_image_nav_get_preview_size (GtkImageNav *nav)
10 {
11 GdkPixbuf *pixbuf = gtk_image_view_get_pixbuf (nav->view);
12 - if (!pixbuf)
13 - return (Size){GTK_IMAGE_NAV_MAX_WIDTH, GTK_IMAGE_NAV_MAX_HEIGHT};
14 + if (!pixbuf)
15 + return (Size){GTK_IMAGE_NAV_MAX_WIDTH, GTK_IMAGE_NAV_MAX_HEIGHT};
16 int img_width = gdk_pixbuf_get_width (pixbuf);
17 int img_height = gdk_pixbuf_get_height (pixbuf);