[glibmm] DateTime: Correct the declaration of the TimeVal struct.



commit cac80f7d211f97d62916aadeb59703f9dc7669d6
Author: Josà Alburquerque <jaalburqu svn gnome org>
Date:   Thu Mar 15 00:10:21 2012 -0400

    DateTime: Correct the declaration of the TimeVal struct.
    
    	* glib/src/datetime.hg: It was declared as a class but is in fact a
    	struct.  I also built the jhbuild c++ sources (as gtkmm was) using
    	clang++ out of curiosity which discovered this.

 ChangeLog            |    8 ++++++++
 glib/src/datetime.hg |    2 +-
 2 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index be638cf..ef0c99d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2012-03-15  Josà Alburquerque  <jaalburquerque gmail com>
+
+	DateTime: Correct the declaration of the TimeVal struct.
+
+	* glib/src/datetime.hg: It was declared as a class but is in fact a
+	struct.  I also built the jhbuild c++ sources (as gtkmm was) using
+	clang++ out of curiosity which discovered this.
+
 2012-03-14  Josà Alburquerque  <jaalburquerque gmail com>
 
 	Gio::DBus: Add the Interface and Object interfaces.
diff --git a/glib/src/datetime.hg b/glib/src/datetime.hg
index 50abe35..4d4aaf2 100644
--- a/glib/src/datetime.hg
+++ b/glib/src/datetime.hg
@@ -29,7 +29,7 @@ typedef struct _GDateTime GDateTime;
 namespace Glib
 {
 
-class TimeVal;
+struct TimeVal;
 class TimeZone;
 
 /** A value representing an interval of time, in microseconds.  As GTimeSpan,



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