[glibmm] TlsError: Rename the EOF enum value.



commit 3bb2217bed5b0f3c90cb1be319dff82e0c580f98
Author: José Alburquerque <jaalburqu svn gnome org>
Date:   Tue Mar 26 10:00:35 2013 -0400

    TlsError: Rename the EOF enum value.
    
        * gio/src/error.hg (EOF): Rename it to ENDOFFILE to avoid a clash with
        another definition of the identifier somewhere else which breaks the
        gtkmm build.

 ChangeLog        |    8 ++++++++
 gio/src/error.hg |    2 +-
 2 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e02936f..14bc0f5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2013-03-26  José Alburquerque  <jaalburquerque gmail com>
+
+       TlsError: Rename the EOF enum value.
+
+       * gio/src/error.hg (EOF): Rename it to ENDOFFILE to avoid a clash with
+       another definition of the identifier somewhere else which breaks the
+       gtkmm build.
+
 2013-03-26  Murray Cumming  <murrayc murrayc com>
 
        GTlsFileDatabase: Use std::string for filenames.
diff --git a/gio/src/error.hg b/gio/src/error.hg
index 388b493..b147a7d 100644
--- a/gio/src/error.hg
+++ b/gio/src/error.hg
@@ -43,7 +43,7 @@ namespace Gio
  */
 _WRAP_GERROR(Error, GIOErrorEnum, G_IO_ERROR, NO_GTYPE)
 _WRAP_GERROR(ResolverError, GResolverError, G_RESOLVER_ERROR, NO_GTYPE)
-_WRAP_GERROR(TlsError, GTlsError, G_TLS_ERROR, NO_GTYPE)
+_WRAP_GERROR(TlsError, GTlsError, G_TLS_ERROR, NO_GTYPE, s#^EOF#ENDOFFILE#)
 
 } // namespace Gio
 


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