summaryrefslogtreecommitdiff
path: root/src/eom-jobs.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-07-26 11:43:49 +0200
committerinfirit <[email protected]>2014-07-26 12:17:20 +0200
commitd056914e3d49734d740c227eda08a9a3711c9ae3 (patch)
tree2082f4858d50fe287e9c037ee2d5251679b0cae9 /src/eom-jobs.c
parent99d1fc5f4d134d93c25702fd5ba12e10b874aa71 (diff)
downloadeom-d056914e3d49734d740c227eda08a9a3711c9ae3.tar.bz2
eom-d056914e3d49734d740c227eda08a9a3711c9ae3.tar.xz
Improve the API consistency in EomImageSaveInfo
This will make things better for introspection Based on eog commit ae39227b82978abf2b69baff0e46d8bba8d3474e From Claudio Saavedra <[email protected]>
Diffstat (limited to 'src/eom-jobs.c')
-rw-r--r--src/eom-jobs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/eom-jobs.c b/src/eom-jobs.c
index 1ddfc4f..d5a7a1d 100644
--- a/src/eom-jobs.c
+++ b/src/eom-jobs.c
@@ -639,7 +639,7 @@ eom_job_save_run (EomJob *ejob)
G_CALLBACK (save_progress_handler),
job);
- save_info = eom_image_save_info_from_image (image);
+ save_info = eom_image_save_info_new_from_image (image);
success = eom_image_save_by_info (image,
save_info,
@@ -748,14 +748,14 @@ eom_job_save_as_run (EomJob *ejob)
G_CALLBACK (save_progress_handler),
job);
- src_info = eom_image_save_info_from_image (image);
+ src_info = eom_image_save_info_new_from_image (image);
if (n_images == 1) {
g_assert (saveas_job->file != NULL);
format = eom_pixbuf_get_format (saveas_job->file);
- dest_info = eom_image_save_info_from_file (saveas_job->file,
+ dest_info = eom_image_save_info_new_from_file (saveas_job->file,
format);
/* SaveAsDialog has already secured permission to overwrite */
@@ -774,7 +774,7 @@ eom_job_save_as_run (EomJob *ejob)
g_assert (result);
- dest_info = eom_image_save_info_from_file (dest_file,
+ dest_info = eom_image_save_info_new_from_file (dest_file,
format);
}