summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCosimo Cecchi <[email protected]>2013-01-07 15:54:31 +0100
committerraveit65 <[email protected]>2017-08-24 12:07:22 +0200
commitf5791f5ed2be3d0c9aff6bc7bb46c111180c2286 (patch)
treef15eab9f63458cc9e529882c1b88719d5e3ccc2c
parent91e2f8d03667881e231bc4dbf18d716bca6defe5 (diff)
downloadatril-f5791f5ed2be3d0c9aff6bc7bb46c111180c2286.tar.bz2
atril-f5791f5ed2be3d0c9aff6bc7bb46c111180c2286.tar.xz
ev-jobs: have ev_job_failed_from_error shadow ev_job_failed
Since the latter uses varargs and will never be introspectable. https://bugzilla.gnome.org/show_bug.cgi?id=691354 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=1d87fc5
-rw-r--r--libview/ev-jobs.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libview/ev-jobs.c b/libview/ev-jobs.c
index a7ef8f13..e5c9af10 100644
--- a/libview/ev-jobs.c
+++ b/libview/ev-jobs.c
@@ -270,6 +270,13 @@ ev_job_failed (EvJob *job,
ev_job_emit_finished (job);
}
+/**
+ * ev_job_failed_from_error:
+ * @job: an #EvJob
+ * @error: a #GError
+ *
+ * Rename to: ev_job_failed
+ */
void
ev_job_failed_from_error (EvJob *job,
GError *error)