view pixmaps/gen-inline-pixbufs.sh @ 20607:9f5f64cc9720 v8.2.0857

patch 8.2.0857: GTK cell height can be a pixel too much Commit: https://github.com/vim/vim/commit/5cd1cb9ff9d04979ff4cbc36ca8416d83364505d Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 31 13:53:04 2020 +0200 patch 8.2.0857: GTK cell height can be a pixel too much Problem: GTK cell height can be a pixel too much. Solution: Subtract 3 instead of 1 when rounding. (closes https://github.com/vim/vim/issues/6168)
author Bram Moolenaar <Bram@vim.org>
date Sun, 31 May 2020 14:00:03 +0200
parents 3fc0f57ecb91
children d4faa2c5211b
line wrap: on
line source

#! /bin/sh

prefix=stock_
list=

for file in "$@"
do
    name=`echo "$file" | sed 's|-|_|g; s|^.*/||; s|\..*$||'`
    list="$list $prefix$name $file"
done

gdk-pixbuf-csource --raw --static --build-list $list