summaryrefslogtreecommitdiff
path: root/src/eom-print-preview.c
AgeCommit message (Collapse)AuthorFilesLines
2020-01-03EomPrintPreview: Fix preview thumbnail on HiDPI displaysFelix Riemann1-3/+7
Simply scale the preview thumbnail according to the display scale setting. That should provide a good looking preview at the correct size. origin commit: https://gitlab.gnome.org/GNOME/eog/commit/d17e1b20ebfd878
2018-07-17Convert to G_DEFINE_TYPE_WITH_PRIVATE part 2Felix Riemann1-8/+3
origin commits: https://gitlab.gnome.org/GNOME/eog/commit/ffc4137 https://gitlab.gnome.org/GNOME/eog/commit/ad8c963 https://gitlab.gnome.org/GNOME/eog/commit/afa0dc8 https://gitlab.gnome.org/GNOME/eog/commit/119a768 https://gitlab.gnome.org/GNOME/eog/commit/7725a55 https://gitlab.gnome.org/GNOME/eog/commit/80cf422
2017-12-29print-preview: replace custom code with GDK function callmonsta1-93/+3
taken from: https://git.gnome.org/browse/eog/commit/?id=c1ac983bf3bdbd7d8ab4ab34208f1f399bdacbfc
2017-04-23EomPrintPreview: Avoid unnecessary color parsingFelix Riemann1-5/+2
The RGB values of black and white are known and thus can be set directly without parsing them with GdkRGBA first. taken from: https://git.gnome.org/browse/eog/commit/?id=b06f858
2016-11-21move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-49/+0
and require libmate-desktop >= 1.17
2016-02-10avoid integer overflow when allocating a large block of memorymonsta1-1/+1
it's the same issue as in gdk_cairo_set_source_pixbuf since the code is apparently copied from there. fix is taken from https://git.gnome.org/browse/gtk+/commit?id=894b1ae76a32720f4bb3d39cf460402e3ce331d6
2015-11-03refactor draw/expose code a bitMonsta1-28/+19
2015-09-06Gtk3: remove an unused variable + simplify the coderaveit651-15/+14
inspiriert from: https://git.gnome.org/browse/eog/commit/?h=gnome-3-4&id=9ef7d86
2015-09-06Gtk3: Remove deprecated GtkVBox/GtkHBox usageraveit651-1/+2
The GtkHBox and GtkVBox have been deprecated by now. Also be consistent with the other properties declarations and use PROP_0 instead of PROP = 1. taken from: https://git.gnome.org/browse/eog/commit/?id=81cb068
2015-09-06Gtk3: don't use deprecated gdk_window_get_pointerraveit651-1/+2
inspired from: https://git.gnome.org/browse/eog/commit/?id=16f37f2 For some reason most of the commit was already done at https://github.com/mate-desktop/eom/commit/971e627
2015-08-31GTK3: Fix deprecated GTK API usageraveit651-6/+24
taken from: https://git.gnome.org/browse/eog/commit/?id=9bd1a07
2015-08-31GTK3: Don't use deprecated gdk_cursor_unref() for gtk+ >=3.0.0raveit651-0/+4
2014-12-23use guint for signals arrays, and zero-initialize themMonsta1-1/+2
2014-07-29all: Fix a load of warningsinfirit1-5/+0
Partly based on eog commit 3859553433838e97367e7678f9da4ba2bcc7f973 From Cosimo Cecchi <[email protected]>
2014-07-29print-preview: Fix typo from commit 31434612ce873fba3410bc38d9fbbb0a411b8a5einfirit1-1/+1
2014-07-24Gtk+3: Make print preview use the "draw"-signalinfirit1-0/+24
Based on eog commit 608ef5240e87c4d0e182e7748698e2c298ec00c8 From Felix Riemann <[email protected]>
2013-10-17GTK3 supportLaszlo Boros1-0/+6
2013-04-25replace even more GDK key constantsElias Aebi1-4/+4
2012-09-04Fixed incorrect fsf addresses. Closes #4.Steve Zesch1-1/+1
2011-11-06inicialPerberos1-0/+1226