[librsvg] Add deprecation guards to RsvgDimensionData / RsvgPositionData



commit 3e09580e80f5311387205b3c1c32405037f4306b
Author: Federico Mena Quintero <federico gnome org>
Date:   Thu Jan 24 18:33:06 2019 -0600

    Add deprecation guards to RsvgDimensionData / RsvgPositionData
    
    So gtk-doc will pick them up.

 librsvg/rsvg.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/librsvg/rsvg.h b/librsvg/rsvg.h
index 3ff6c4f1..4a590da4 100644
--- a/librsvg/rsvg.h
+++ b/librsvg/rsvg.h
@@ -68,8 +68,8 @@ GQuark rsvg_error_quark (void) G_GNUC_CONST;
 
 typedef struct _RsvgHandle RsvgHandle;
 typedef struct _RsvgHandleClass RsvgHandleClass;
-typedef struct _RsvgDimensionData RsvgDimensionData;
-typedef struct _RsvgPositionData RsvgPositionData;
+/* RSVG_DEPRECATED */ typedef struct _RsvgDimensionData RsvgDimensionData;
+/* RSVG_DEPRECATED */ typedef struct _RsvgPositionData RsvgPositionData;
 typedef struct _RsvgRectangle RsvgRectangle;
 
 /**
@@ -108,7 +108,7 @@ struct _RsvgHandle {
  *
  * Deprecated: 2.46.  Please use rsvg_handle_get_geometry_sub().
  */
-struct _RsvgDimensionData {
+/* RSVG_DEPRECATED */ struct _RsvgDimensionData {
     int width;
     int height;
     gdouble em;
@@ -124,7 +124,7 @@ struct _RsvgDimensionData {
  *
  * Deprecated: 2.46.  Please use rsvg_handle_get_geometry_sub().
  */
-struct _RsvgPositionData {
+/* RSVG_DEPRECATED */ struct _RsvgPositionData {
     int x;
     int y;
 };


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