Skip to content

Commit

Permalink
ev-jobs: have ev_job_failed_from_error shadow ev_job_failed
Browse files Browse the repository at this point in the history
Since the latter uses varargs and will never be introspectable.

https://bugzilla.gnome.org/show_bug.cgi?id=691354
  • Loading branch information
Cosimo Cecchi committed Jan 28, 2013
1 parent 4bc744c commit 1d87fc5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions libview/ev-jobs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1d87fc5

Please sign in to comment.