summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/eom-image.c8
-rw-r--r--src/eom-image.h1
2 files changed, 9 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;
+}
diff --git a/src/eom-image.h b/src/eom-image.h
index 5e3fe84..f93c8ac 100644
--- a/src/eom-image.h
+++ b/src/eom-image.h
@@ -212,6 +212,7 @@ EomTransform *eom_image_get_transform (EomImage *img);
#endif
void eom_image_file_changed (EomImage *img);
+gboolean eom_image_is_file_changed (EomImage *img);
G_END_DECLS