Replace all calls to gdk_x11_get_default_xdisplay

Based on eog commit c4f204aee4640b3997d3e30d67f6f292da935078
From Felix Riemann <friemann@gnome.org>
Minor optimization
GList should always be prepended and reversed later.

Based on eog commit 6aff895cc42d08aca91657ab7bb85a99c2ea1899
From Claudio Saavedra <csaavedra@igalia.com>
Plug leaked glist in EogWindow

Based on eog commit 4f8def2160c053d910c15f53ace97ab7431c4bee
From Claudio Saavedra <csaavedra@igalia.com>
Store the changed status of an image file

Based on oeg commit c1cc23e3c776c9b05b255c7127b4932d2d076b4e
From Claudio Saavedra <csaavedra@igalia.com>
Add eom_image_is_file_changed()

Based on eog commit 50390e87fe4f14f3a68ca93b3048127c15244750
From Claudio Saavedra <csaavedra@igalia.com>
Don't create thumbnails out of outdated image pixbufs

Eog bug reff http://bugzilla.gnome.org/show_bug.cgi?id=614634

Based on eog commit 35ea437d25c94cbd7c0c61c7a4c3094a239048d8
From Claudio Saavedra <csaavedra@igalia.com>
Don't try to thumbnail named pipes in the file open dialog

In fact this means all "special" files like sockets and device files.
This prevents lockups due to file I/O blocking here.

Eog bug http://bugzilla.gnome.org/show_bug.cgi?id=623271
Based on eog commit b417c57d846bfa83045de8d74ed35e96ef345e22
From Felix Riemann <friemann@gnome.org>
Fix calculation of reference matrices for transpose/transverse

The flip matrices were applied as if the source matrix were an
identity matrix instead of properly multiplicating them.

Based on eog commit f2a9be530668155e2a6ab31213f230b104f4832b
From Felix Riemann <friemann@gnome.org>
Support transpose/transverse as lossless JPEG transformations

Also implement a warning message if unsupported transformations
are used to easier discover such cases in the future.

Eog bug http://bugzilla.gnome.org/show_bug.cgi?id=632290
Based on eog commit 5bb5a0bbbd8a47215828f30d97474d63dc979be4
From Felix Riemann <friemann@gnome.org>
Clear status + titlebar when deleting last image in collection

Eog bug http://bugzilla.gnome.org/show_bug.cgi?id=632458
Based on eog commit 7a6ea9ee0e5e8a2d89fd16f241a693c5a56f3b78
From Felix Riemann <friemann@gnome.org>
Make newly saved images user writable

Doesn't occur for existing files only when saving creates a new file.

Eog bug http://bugzilla.gnome.org/show_bug.cgi?id=589921
Based on eog commit 00075ab25d5bd3656a2f5f89773bd56e091d5b47
From Javier Sánchez <jsanchez@deskblue.com>
Use GRandom as random value generator for random image function

Seems to have a better distribution. At least works better with lower image counts.

Eom bug https://bugzilla.gnome.org/show_bug.cgi?id=633746
Based on eog commit 88407daf16b509dc33256ad11a8941a8eb4e3eb4
From Felix Riemann <friemann@gnome.org>
Use gtk_paned_new() instead gtk_[h|v]paned_new()

Based on eog commit 1564455e2585cfee8dd30d7adbe65715608aee03
From Javier Jardón <jjardon@gnome.org>
Workaround concurrency issue with statusbar-date plugin

Make sure that only an image loading job does autorotation. A metadata
loading job has no use for this. Works around lost signals when
the statusbar-date plugin is activated.

Eog bug http://bugzilla.gnome.org/show_bug.cgi?id=622161
Based on eog commit 46b027696fd73c115efe6d13421105750a0bf86c
From Felix Riemann <friemann@gnome.org>
Remove any reference to glade*

Based on eog commit d26606d6273427777790e998902d86acd57c3393
From Baptiste Mille-Mathias <baptiste.millemathias@gmail.com>
Make toolbar editor expand vertically to fully use the dialog's space

Editor only showed a single row of items due to the changed expand behaviour in GTK+-3 before.

Based on eog commit 685ea8bd493b3832f9e245dd2da294ef9edf15c3
From Felix Riemann <friemann@gnome.org>
Ignore drag&drop requests from a window onto itself

Avoids accidential DnD of an image into the same window (e.g. while
trying to scroll) and the resulting reload.

Eog bug http://bugzilla.gnome.org/show_bug.cgi?id=585069
Based on eog commit 6a406bf93969a73159b67eefe125f700a1f82126
From Felix Riemann <friemann@gnome.org>