summaryrefslogtreecommitdiff
path: root/libdocument/ev-document-misc.c
AgeCommit message (Collapse)AuthorFilesLines
2018-03-19Save/restore context when getting colors for a different stateraveit651-0/+2
Getting colors for a state different from the current state of the corresponding widget without saving the context might trigger an invalidation and a redraw. Because this was happening from the draw function this resulted in a redraw loop and constant high CPU usage. This could be triggered by selecting text or searching. https://bugzilla.gnome.org/show_bug.cgi?id=755442 inspired by: https://git.gnome.org/browse/evince/commit/?id=1987f04 https://github.com/linuxmint/xreader/commit/e76a18d
2018-01-31require GTK+ 3.22 and GLib 2.50monsta1-18/+0
2017-12-10WidthOfScreen and HeightOfScreen implementationPablo Barciela1-5/+2
This commit reverts: https://github.com/mate-desktop/atril/commit/d9fffe2dc0e33d6777099c18635b7b75f54d3d35 And it applies an alternative to fix the deprecated functions: gdk_screen_get_width gdk_screen_get_height
2017-08-24libdocument: add missing transfer and element-type annotationsCosimo Cecchi1-0/+22
https://bugzilla.gnome.org/show_bug.cgi?id=691354 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=7917b62
2017-08-20avoid gdk_screen_get_primary_monitor/gdk_screen_get_monitor_scale_factorZenWalker1-9/+6
2017-08-20ev-document-misc.c: avoid deprecated gdk_screen_get_width/height_mmZenWalker1-0/+9
Fixes #177
2017-08-20avoid deprecated gdk_screen_get_width/heightZenWalker1-1/+5
2017-08-12Take monitor scale factor into account when calculating zoom.Matthew Petroff1-1/+5
https://github.com/linuxmint/xreader/commit/c47a1f4
2017-08-11libdocument: adjust rendering of shadow for active and inactive pagesraveit651-24/+17
and fix usage of deprecated gtk_symbolic_color https://github.com/linuxmint/xreader/commit/c171041 https://github.com/linuxmint/xreader/commit/68f365a
2016-11-23move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-14/+0
and require caja >= 1.17.1
2016-11-23fix indent a bitmonsta1-2/+2
2016-06-29Fix rotated tiff documentsraveit651-1/+1
This allows tiff documents with different XRESOLUTION and YRESOLUTION to rotate correctly. taken from: https://git.gnome.org/browse/evince/commit/?id=67700e0
2016-06-29GTK+-3: Use ev_document_misc_get_pointer_position() instad of deprecated ↵raveit651-0/+45
gtk_widget_get_pointer()
2014-12-10Gtk3: libdocument: Port To GtkStyleContextinfirit1-0/+23
Taken from evince commit: 478dd74e4201b44b5c921fd0bb69b0c4e43bcd8a From: Carlos Garcia Campos <[email protected]>
2014-12-09libdocument: Add more sanity checks to ev-document-miscinfirit1-0/+4
Taken from evince commit: cae38b012050870eef820330a5902f94f262ffb5 From: José Aliste <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=572061
2014-04-21create_thumbnail_frame should return NULL whenraveit651-1/+1
source_pixbuf is NULL and width and height are not positive. fix https://bugzilla.redhat.com/show_bug.cgi?id=1082143 taken from https://git.gnome.org/browse/evince/commit/?id=3d8180a605e8c98172e9e0e739e22b7f50ed7bad
2011-11-09inicialPerberos1-0/+400