[cogl/cogl-1.16] cogl/cogl-offscreen.h: Fix deprecation macro placement



commit 9440c690fb372a528cc65d2aabd9df169c9b339e
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Mon Aug 26 18:51:55 2013 +0800

    cogl/cogl-offscreen.h: Fix deprecation macro placement
    
    The deprecation macros need to be before the function prototype on
    Visual Studio, and is also accepted by GCC.
    
    Reviewed-by: Neil Roberts <neil linux intel com>

 cogl/cogl-offscreen.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/cogl/cogl-offscreen.h b/cogl/cogl-offscreen.h
index bfbe3c8..fcb9924 100644
--- a/cogl/cogl-offscreen.h
+++ b/cogl/cogl-offscreen.h
@@ -102,9 +102,9 @@ cogl_offscreen_new_with_texture (CoglTexture *texture);
  *   buffer.
  * Deprecated: 1.16: Use cogl_offscreen_new_with_texture instead.
  */
+COGL_DEPRECATED_IN_1_16_FOR (cogl_offscreen_new_with_texture)
 CoglOffscreen *
-cogl_offscreen_new_to_texture (CoglTexture *texture)
-    COGL_DEPRECATED_IN_1_16_FOR (cogl_offscreen_new_with_texture);
+cogl_offscreen_new_to_texture (CoglTexture *texture);
 
 /**
  * cogl_is_offscreen:


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