[evince] document: Ignore deprecation for deprecated function
- From: Germán Poo-Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] document: Ignore deprecation for deprecated function
- Date: Sun, 11 Nov 2018 06:41:41 +0000 (UTC)
commit e7294eb1ee24958b501daac3107586aa4efb06bf
Author: Germán Poo-Caamaño <gpoo gnome org>
Date: Sun Nov 11 03:40:49 2018 -0300
document: Ignore deprecation for deprecated function
libdocument/ev-annotation.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/libdocument/ev-annotation.c b/libdocument/ev-annotation.c
index c6ed06c5..4dc70f91 100644
--- a/libdocument/ev-annotation.c
+++ b/libdocument/ev-annotation.c
@@ -611,6 +611,7 @@ ev_annotation_get_color (EvAnnotation *annot,
*
* Deprecated: 3.6: Use ev_annotation_set_rgba() instead.
*/
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
gboolean
ev_annotation_set_color (EvAnnotation *annot,
const GdkColor *color)
@@ -633,6 +634,7 @@ ev_annotation_set_color (EvAnnotation *annot,
return TRUE;
}
+G_GNUC_END_IGNORE_DEPRECATIONS
/**
* ev_annotation_get_rgba:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]