[evince/wip/gpoo/fix-gir-deprecation] libview: Fix gobject-introspection deprecation warning




commit eb182903369bc146ce3cc1bd8a20f11eacc7925a
Author: Germán Poo-Caamaño <gpoo gnome org>
Date:   Tue Nov 30 19:16:49 2021 -0300

    libview: Fix gobject-introspection deprecation warning
    
    * Use annotations on the identifier instead of Gtk-Doc tag to rename
      function

 libview/ev-jobs.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/libview/ev-jobs.c b/libview/ev-jobs.c
index c96e92cbf..e52e49c81 100644
--- a/libview/ev-jobs.c
+++ b/libview/ev-jobs.c
@@ -263,11 +263,9 @@ ev_job_failed (EvJob       *job,
 }
 
 /**
- * ev_job_failed_from_error:
+ * ev_job_failed_from_error: (rename-to ev_job_failed)
  * @job: an #EvJob
  * @error: a #GError
- *
- * Rename to: ev_job_failed
  */
 void
 ev_job_failed_from_error (EvJob  *job,


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