[latexila] Use DirUtils.make_tmp() (requires Vala 0.16.0)



commit 4b0828b74229e7277b7e373fc4bab350993183bb
Author: SÃbastien Wilmet <swilmet src gnome org>
Date:   Wed Mar 28 18:30:08 2012 +0200

    Use DirUtils.make_tmp() (requires Vala 0.16.0)

 CMakeLists.txt    |    2 +-
 src/document.vala |    2 +-
 vapi/glib.vapi    |    8 --------
 3 files changed, 2 insertions(+), 10 deletions(-)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c483f61..9fe0cca 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -30,7 +30,7 @@ if (BUILD_VALA)
 	include ("${latexila_SOURCE_DIR}/cmake/use_vala.cmake")
 
 	set (_vala_main_version "0.16")
-	set (_vala_min_version "0.15.1")
+	set (_vala_min_version "0.16.0")
 
 	if (VALAC)
 		message (STATUS "Use custom valac: ${VALAC}")
diff --git a/src/document.vala b/src/document.vala
index 114ff68..449aa9c 100644
--- a/src/document.vala
+++ b/src/document.vala
@@ -595,7 +595,7 @@ public class Document : Gtk.SourceBuffer
 
         try
         {
-            tmp_dir = MyDirUtils.make_tmp (template);
+            tmp_dir = DirUtils.make_tmp (template);
         }
         catch (FileError e)
         {



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