summaryrefslogtreecommitdiff
path: root/src/eom-image.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-07-25 13:59:55 +0200
committerinfirit <[email protected]>2014-07-25 13:59:55 +0200
commit477065ee6778e48b5a3c11794deabbc49a97e3e0 (patch)
tree0af4f354cd81e1c66e1c702bc4478b5ac5a5e3db /src/eom-image.c
parent49522507d46e185a92151baf304f00ed5d2fcea0 (diff)
downloadeom-477065ee6778e48b5a3c11794deabbc49a97e3e0.tar.bz2
eom-477065ee6778e48b5a3c11794deabbc49a97e3e0.tar.xz
Add eom_image_is_file_changed()
Based on eog commit 50390e87fe4f14f3a68ca93b3048127c15244750 From Claudio Saavedra <[email protected]>
Diffstat (limited to 'src/eom-image.c')
-rw-r--r--src/eom-image.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/eom-image.c b/src/eom-image.c
index c2fb5eb..724d849 100644
--- a/src/eom-image.c
+++ b/src/eom-image.c
@@ -2237,3 +2237,11 @@ eom_image_file_changed (EomImage *img)
img->priv->file_is_changed = TRUE;
g_signal_emit (img, signals[SIGNAL_FILE_CHANGED], 0);
}
+
+gboolean
+eom_image_is_file_changed (EomImage *img)
+{
+ g_return_val_if_fail (EOM_IS_IMAGE (img), TRUE);
+
+ return img->priv->file_is_changed;
+}