[evince] ev-jobs: have ev_job_failed_from_error shadow ev_job_failed



commit 1d87fc535bbe6c2fbb7ec875ec5b1573d6f932f0
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Jan 7 15:54:31 2013 +0100

    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

 libview/ev-jobs.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/libview/ev-jobs.c b/libview/ev-jobs.c
index 63097d6..0cc8d12 100644
--- a/libview/ev-jobs.c
+++ b/libview/ev-jobs.c
@@ -261,6 +261,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)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]