[latexila/wip/templates-revamp: 10/10] Update latexila-types.h



commit 91df1c7b2038c5307a793b473c0f05f3cc3f0b37
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Thu May 28 17:46:38 2015 +0200

    Update latexila-types.h
    
    The types are already declared with G_DECLARE_FINAL_TYPE(), but it's
    better to declare them also in latexila-types.h, so that every types are
    present in latexila-types.h, for consistency and for avoiding problems
    with header cycles dependencies.

 src/liblatexila/latexila-templates-default.h  |    1 +
 src/liblatexila/latexila-templates-personal.h |    1 +
 src/liblatexila/latexila-types.h              |    4 +++-
 3 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/liblatexila/latexila-templates-default.h b/src/liblatexila/latexila-templates-default.h
index a85e11e..731102a 100644
--- a/src/liblatexila/latexila-templates-default.h
+++ b/src/liblatexila/latexila-templates-default.h
@@ -21,6 +21,7 @@
 #define __LATEXILA_TEMPLATES_DEFAULT_H__
 
 #include <gtk/gtk.h>
+#include "latexila-types.h"
 
 G_BEGIN_DECLS
 
diff --git a/src/liblatexila/latexila-templates-personal.h b/src/liblatexila/latexila-templates-personal.h
index 1f3ba1a..3348cd7 100644
--- a/src/liblatexila/latexila-templates-personal.h
+++ b/src/liblatexila/latexila-templates-personal.h
@@ -21,6 +21,7 @@
 #define __LATEXILA_TEMPLATES_PERSONAL_H__
 
 #include <gtk/gtk.h>
+#include "latexila-types.h"
 
 G_BEGIN_DECLS
 
diff --git a/src/liblatexila/latexila-types.h b/src/liblatexila/latexila-types.h
index 335ebc6..eeed9d3 100644
--- a/src/liblatexila/latexila-types.h
+++ b/src/liblatexila/latexila-types.h
@@ -1,7 +1,7 @@
 /*
  * This file is part of LaTeXila.
  *
- * Copyright (C) 2014 - Sébastien Wilmet <swilmet gnome org>
+ * Copyright (C) 2014-2015 - Sébastien Wilmet <swilmet gnome org>
  *
  * LaTeXila is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -40,6 +40,8 @@ typedef struct _LatexilaPostProcessorAllOutput  LatexilaPostProcessorAllOutput;
 typedef struct _LatexilaPostProcessorLatex      LatexilaPostProcessorLatex;
 typedef struct _LatexilaPostProcessorLatexmk    LatexilaPostProcessorLatexmk;
 typedef struct _LatexilaSynctex                 LatexilaSynctex;
+typedef struct _LatexilaTemplatesDefault        LatexilaTemplatesDefault;
+typedef struct _LatexilaTemplatesPersonal       LatexilaTemplatesPersonal;
 
 G_END_DECLS
 


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