[goffice] API: Add back GO_FILE_PROBE_LAST



commit fed0fcb0648286581cbf8b35d4e786755a729e47
Author: Morten Welinder <terra gnome org>
Date:   Wed Mar 20 13:02:05 2013 -0400

    API: Add back GO_FILE_PROBE_LAST

 goffice/app/goffice-app.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/goffice/app/goffice-app.h b/goffice/app/goffice-app.h
index 2460fae..512bc17 100644
--- a/goffice/app/goffice-app.h
+++ b/goffice/app/goffice-app.h
@@ -45,6 +45,7 @@ typedef struct _GOIOContext           GOIOContext;
  * GOFileProbeLevel:
  * @GO_FILE_PROBE_FILE_NAME: Test only file name, don't read file contents
  * @GO_FILE_PROBE_CONTENT: Read the whole file if it's necessary
+ * @GO_FILE_PROBE_LAST: Invalid
  *
  * File probe level tells file opener (its probe method to be exact), how
  * hard it should try to recognize the type of the file. File openers may
@@ -57,7 +58,8 @@ typedef struct _GOIOContext           GOIOContext;
  */
 typedef enum {
        GO_FILE_PROBE_FILE_NAME,
-       GO_FILE_PROBE_CONTENT
+       GO_FILE_PROBE_CONTENT,
+       GO_FILE_PROBE_LAST
 } GOFileProbeLevel;
 
 G_END_DECLS


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