[dia] [cleanup] move typedef struct DiaLibartRenderer* to local header



commit 62dceb44b5a6090e1e76b96e48bb96639b968ba5
Author: Hans Breuer <hans breuer org>
Date:   Thu Jul 19 22:40:35 2012 +0200

    [cleanup] move typedef struct DiaLibartRenderer* to local header

 lib/diatypes.h                      |   14 +++-----------
 plug-ins/libart/dialibartrenderer.h |    3 +++
 2 files changed, 6 insertions(+), 11 deletions(-)
---
diff --git a/lib/diatypes.h b/lib/diatypes.h
index c92cb31..86e12ed 100644
--- a/lib/diatypes.h
+++ b/lib/diatypes.h
@@ -62,16 +62,14 @@ typedef struct _DiaImage DiaImage;
 /* In diagdkrenderer.h: */
 typedef struct _DiaGdkRenderer DiaGdkRenderer;
 typedef struct _DiaGdkRendererClass DiaGdkRendererClass;
-typedef struct _DDisp DDisp;
-
-/* In dialibartrenderer.h: */
-typedef struct _DiaLibartRenderer DiaLibartRenderer;
-typedef struct _DiaLibartRendererClass DiaLibartRendererClass;
 
 /* In diamenu.h: */
 typedef struct _DiaMenuItem DiaMenuItem;
 typedef struct _DiaMenu DiaMenu;
 
+/* In diacontext.h */
+typedef struct _DiaContext DiaContext;
+
 /* In diarenderer.h: */
 typedef struct _BezierApprox BezierApprox;
 typedef struct _DiaRenderer DiaRenderer;
@@ -159,12 +157,6 @@ typedef struct _PropDescDArrayExtra PropDescDArrayExtra;
 typedef struct _PropDescSArrayExtra PropDescSArrayExtra;
 typedef struct _PropOffset PropOffset;
 
-/* In ps-utf8.h: */
-typedef struct _PSFontDescriptor PSFontDescriptor;
-typedef struct _PSEncodingPage PSEncodingPage;
-typedef struct _PSUnicoder PSUnicoder;
-typedef struct _PSUnicoderCallbacks PSUnicoderCallbacks;
-
 /* In sheet.h: */
 typedef struct _Sheet Sheet;
 typedef struct _SheetObject SheetObject;
diff --git a/plug-ins/libart/dialibartrenderer.h b/plug-ins/libart/dialibartrenderer.h
index 9311fa0..7363433 100644
--- a/plug-ins/libart/dialibartrenderer.h
+++ b/plug-ins/libart/dialibartrenderer.h
@@ -15,6 +15,9 @@
 
 G_BEGIN_DECLS
 
+typedef struct _DiaLibartRenderer DiaLibartRenderer;
+typedef struct _DiaLibartRendererClass DiaLibartRendererClass;
+
 #define DIA_TYPE_LIBART_RENDERER           (dia_libart_renderer_get_type ())
 #define DIA_LIBART_RENDERER(obj)           (G_TYPE_CHECK_INSTANCE_CAST ((obj), DIA_TYPE_LIBART_RENDERER, DiaLibartRenderer))
 #define DIA_LIBART_RENDERER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), DIA_TYPE_LIBART_RENDERER, DiaLibartRendererClass))



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