[latexila/wip/build-tools-revamp] Fix remaining issues for using the build tools written in C



commit 790e08fd72d8b51cf16b8922d541dd9a49839a6d
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Wed May 7 17:38:44 2014 +0200

    Fix remaining issues for using the build tools written in C
    
    It is finally compilable.

 src/latexila_app.vala                          |    2 +-
 src/liblatexila/latexila-build-tools-default.c |    2 +-
 src/liblatexila/latexila-build-tools.h         |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/latexila_app.vala b/src/latexila_app.vala
index fa6ba35..03a138c 100644
--- a/src/latexila_app.vala
+++ b/src/latexila_app.vala
@@ -45,7 +45,7 @@ public class LatexilaApp : Gtk.Application
         {
             hold ();
             Projects.get_default ().save ();
-            PersonalBuildTools.get_default ().save ();
+            Latexila.BuildToolsPersonal.get_instance ().save ();
             MostUsedSymbols.get_default ().save ();
             Gtk.AccelMap.save (get_accel_filename ());
             release ();
diff --git a/src/liblatexila/latexila-build-tools-default.c b/src/liblatexila/latexila-build-tools-default.c
index f57ff8a..326bdee 100644
--- a/src/liblatexila/latexila-build-tools-default.c
+++ b/src/liblatexila/latexila-build-tools-default.c
@@ -211,7 +211,7 @@ latexila_build_tools_default_init (LatexilaBuildToolsDefault *build_tools)
                     NULL);
 
   xml_file = get_xml_file ();
-  latexila_build_tools_load (LATEXILA_BUILD_TOOLS (instance), xml_file);
+  latexila_build_tools_load (LATEXILA_BUILD_TOOLS (build_tools), xml_file);
   g_object_unref (xml_file);
 }
 
diff --git a/src/liblatexila/latexila-build-tools.h b/src/liblatexila/latexila-build-tools.h
index b5e632a..7710556 100644
--- a/src/liblatexila/latexila-build-tools.h
+++ b/src/liblatexila/latexila-build-tools.h
@@ -37,8 +37,8 @@ typedef struct _LatexilaBuildToolsPrivate LatexilaBuildToolsPrivate;
 
 /**
  * LatexilaBuildTools:
- * @build_tools: a list of #LatexilaBuildTool's. External code should just read
- * the list, not modify it.
+ * @build_tools: (element-type LatexilaBuildTool): a list of
+ * #LatexilaBuildTool's. External code should just read the list, not modify it.
  */
 struct _LatexilaBuildTools
 {


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