[evince] Do not use the C++ template keyword in a header.



commit 84e302b29f4d95d62d2349877ef4c78bec5f9f82
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Jul 12 16:23:18 2011 +0200

    Do not use the C++ template keyword in a header.
    
    This lets us use this API from C++.

 libdocument/ev-file-helpers.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libdocument/ev-file-helpers.h b/libdocument/ev-file-helpers.h
index 0abc5c2..e99f30a 100644
--- a/libdocument/ev-file-helpers.h
+++ b/libdocument/ev-file-helpers.h
@@ -40,12 +40,12 @@ void        _ev_file_helpers_init     (void);
 
 void        _ev_file_helpers_shutdown (void);
 
-int          ev_mkstemp               (const char        *template,
+int          ev_mkstemp               (const char        *the_template,
                                        char             **file_name,
                                        GError           **error);
-GFile       *ev_mkstemp_file          (const char        *template,
+GFile       *ev_mkstemp_file          (const char        *the_template,
                                        GError           **error);
-gchar       *ev_mkdtemp               (const char        *template,
+gchar       *ev_mkdtemp               (const char        *the_template,
                                        GError           **error);
 void         ev_tmp_filename_unlink   (const gchar       *filename);
 void         ev_tmp_file_unlink       (GFile             *file);



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