From bac9c82ffdc97d0a7aa6acbfe4786d306dfcab94 Mon Sep 17 00:00:00 2001
From: Hans Ulrich Niedermann <hun@n-dimensional.de>
Date: Wed, 5 Oct 2016 20:31:36 +0200
Subject: [PATCH] Mark EV_SIZING_BEST_FIT as deprecated for compiler

Mark usage EV_SIZING_BEST_FIT as deprecated in favour of
EV_SIZING_FIT_PAGE in a way which compilers can use.

This replaces the former comment about the deprecation.

No changes are made to the inconsistent indentation whitespace
within the definition of the EvSizingMode enum.
---
 libview/ev-document-model.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libview/ev-document-model.h b/libview/ev-document-model.h
index a0085a7..02de379 100644
--- a/libview/ev-document-model.h
+++ b/libview/ev-document-model.h
@@ -46,7 +46,7 @@ G_BEGIN_DECLS
  */
 typedef enum {
         EV_SIZING_FIT_PAGE,
-	EV_SIZING_BEST_FIT = EV_SIZING_FIT_PAGE, /* Deprecated */
+	EV_SIZING_BEST_FIT EV_DEPRECATED_FOR(EV_SIZING_FIT_PAGE) = EV_SIZING_FIT_PAGE,
 	EV_SIZING_FIT_WIDTH,
 	EV_SIZING_FREE,
         EV_SIZING_AUTOMATIC
-- 
2.7.4

