summaryrefslogtreecommitdiff
path: root/src/eom-jobs.c
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2015-12-12 18:32:35 +0100
committerWolfgang Ulbrich <[email protected]>2015-12-12 18:32:35 +0100
commite0f8a7031abfe6b6207019cddfb911fd33561495 (patch)
treebe025f53c258e089b0d396c941c02b67dc9d7d8d /src/eom-jobs.c
parent3d34cc10a5e62686f661a6653d43e2c42e6a26a2 (diff)
downloadeom-e0f8a7031abfe6b6207019cddfb911fd33561495.tar.bz2
eom-e0f8a7031abfe6b6207019cddfb911fd33561495.tar.xz
fix more introspections warnings
partially taken from: https://git.gnome.org/browse/eog/commit/?id=1b22c52 https://git.gnome.org/browse/eog/commit/?id=e51fe58
Diffstat (limited to 'src/eom-jobs.c')
-rw-r--r--src/eom-jobs.c49
1 files changed, 49 insertions, 0 deletions
diff --git a/src/eom-jobs.c b/src/eom-jobs.c
index 1974ee4..05da974 100644
--- a/src/eom-jobs.c
+++ b/src/eom-jobs.c
@@ -351,6 +351,15 @@ eom_job_model_class_init (EomJobModelClass *class)
EOM_JOB_CLASS (class)->run = eom_job_model_run;
}
+/**
+ * eom_job_model_new:
+ * @file_list: (element-type GFile): a #GFile list
+ *
+ * Creates a new #EomJob model.
+ *
+ * Returns: A #EomJob.
+ */
+
EomJob *
eom_job_model_new (GSList *file_list)
{
@@ -477,6 +486,16 @@ eom_job_transform_class_init (EomJobTransformClass *class)
EOM_JOB_CLASS (class)->run = eom_job_transform_run;
}
+/**
+ * eom_job_transform_new:
+ * @images: (element-type EomImage) (transfer full): a #EomImage list
+ * @trans: a #EogTransform
+ *
+ * Create a new #EomJob for image transformation.
+ *
+ * Returns: A #EomJob.
+ */
+
EomJob *
eom_job_transform_new (GList *images, EomTransform *trans)
{
@@ -564,6 +583,15 @@ eom_job_save_class_init (EomJobSaveClass *class)
EOM_JOB_CLASS (class)->run = eom_job_save_run;
}
+/**
+ * eom_job_save_new:
+ * @images: (element-type EomImage) (transfer full): a #EomImage list
+ *
+ * Creates a new #EomJob for image saving.
+ *
+ * Returns: A #EomJob.
+ */
+
EomJob *
eom_job_save_new (GList *images)
{
@@ -684,6 +712,17 @@ eom_job_save_as_class_init (EomJobSaveAsClass *class)
EOM_JOB_CLASS (class)->run = eom_job_save_as_run;
}
+/**
+ * eom_job_save_as_new:
+ * @images: (element-type EomImage) (transfer full): a #EomImage list
+ * @converter: a URI converter
+ * file: a #GFile
+ *
+ * Creates a new #EomJob for save as.
+ *
+ * Returns: A #EomJob.
+ */
+
EomJob *
eom_job_save_as_new (GList *images, EomURIConverter *converter, GFile *file)
{
@@ -833,6 +872,16 @@ eom_job_copy_class_init (EomJobCopyClass *class)
EOM_JOB_CLASS (class)->run = eom_job_copy_run;
}
+/**
+ * eom_job_copy_new:
+ * @images: (element-type EomImage) (transfer full): a #EomImage list
+ * @dest: destination path for the copy
+ *
+ * Creates a new #EomJob.
+ *
+ * Returns: A #EomJob.
+ */
+
EomJob *
eom_job_copy_new (GList *images, const gchar *dest)
{