Bug fix: Re-size images in GTK3
authorColin Clark <colin.clark@cclark.uk>
Thu, 4 May 2017 18:06:48 +0000 (19:06 +0100)
committerColin Clark <colin.clark@cclark.uk>
Thu, 4 May 2017 18:06:48 +0000 (19:06 +0100)
commit101f1babf7d1381d8249d2f474e9408e89da533b
treec9966b2807065316c092b5c526003f81e5500d2c
parentd72088e0b2e958a9dc6a05cc9d29207e4d280c6b
Bug fix: Re-size images in GTK3

When compiled with GTK3 if an image is opened with "View in new window"
the minimum window size is determined by the image size and screen size
etc. If a file selection is opened, the minimum window size is set by
the first image displayed.
This feature is determined by a call to gtk_widget_set_size_request().

When compiled with GTK2, the call to gtk_widget_set_size_request() seems
to be ignored, and the window can be resized at will.

The GTK2 style is much more practical, so the call to
gtk_widget_set_size_request() is ignored in GTK3.
src/img-view.c