[goocanvasmm] init.h: Move the glibmm.h include to the .cc file.



commit 461115dff0172b25b8833d8256579d1695eb1988
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Oct 25 14:39:09 2011 +0200

    init.h: Move the glibmm.h include to the .cc file.
    
    * goocanvas/goocanvasmm/init.[h|cc]: The glibmm.h include does not need to be in
    the header.

 ChangeLog                     |    7 +++++++
 goocanvas/goocanvasmm/init.cc |    1 +
 goocanvas/goocanvasmm/init.h  |    2 --
 3 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 528e68e..daa59b5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-10-25  Murray Cumming  <murrayc murrayc com>
 
+	init.h: Move the glibmm.h include to the .cc file.
+
+	* goocanvas/goocanvasmm/init.[h|cc]: The glibmm.h include does not need to be in 
+	the header.
+
+2011-10-25  Murray Cumming  <murrayc murrayc com>
+
 	Add #includes needed with the latest glibmm.
 
 	* goocanvas/src/bounds.hg:
diff --git a/goocanvas/goocanvasmm/init.cc b/goocanvas/goocanvasmm/init.cc
index 307448f..79d6535 100644
--- a/goocanvas/goocanvasmm/init.cc
+++ b/goocanvas/goocanvasmm/init.cc
@@ -24,6 +24,7 @@
 #include <glibmm/ustring.h>
 #include <goocanvasmmconfig.h> //For LIBGOOCANVASMM_VERSION
 #include <goocanvasmm/wrap_init.h>
+#include <glibmm.h>
 
 namespace Goocanvas
 {
diff --git a/goocanvas/goocanvasmm/init.h b/goocanvas/goocanvasmm/init.h
index cfc4bdd..5d7ff0b 100644
--- a/goocanvas/goocanvasmm/init.h
+++ b/goocanvas/goocanvasmm/init.h
@@ -22,8 +22,6 @@
  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-#include <glibmm.h>
-
 namespace Goocanvas
 {
 



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