[glibmm] giomm/wrap_init.h: Remove the glibmm.h include from here too.



commit 8e8f46506a11d6fed6e3c42a69277d4b24ac8f40
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Oct 25 13:09:51 2011 +0200

    giomm/wrap_init.h: Remove the glibmm.h include from here too.
    
    * gio/giomm/wrap_init.[h|cc]: Move the #include into the .cc file.
    * gio/giomm.h: Add an #include glibmm.h here instead.

 ChangeLog         |    5 +++--
 gio/giomm.h       |    2 ++
 gio/giomm/init.cc |    1 +
 3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 1a2e20c..e345bfe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,8 +2,9 @@
 
 	giomm/wrap_init.h: Remove the glibmm.h include from here too.
 
-	* gio/giomm/wrap_init.h: The #include does not seem necessary at all.
-
+	* gio/giomm/wrap_init.[h|cc]: Move the #include into the .cc file.
+	* gio/giomm.h: Add an #include glibmm.h here instead.
+	
 2011-10-25  Murray Cumming  <murrayc murrayc com>
 
 	gmmproc: Include <glibmm.h> in .cc files for convenience.
diff --git a/gio/giomm.h b/gio/giomm.h
index 8a6fb4a..207d43f 100644
--- a/gio/giomm.h
+++ b/gio/giomm.h
@@ -20,6 +20,8 @@
  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
+#include <glibmm.h>
+
 #include <giomm/action.h>
 #include <giomm/actiongroup.h>
 #include <giomm/appinfo.h>
diff --git a/gio/giomm/init.cc b/gio/giomm/init.cc
index 4042ff8..c3e7e12 100644
--- a/gio/giomm/init.cc
+++ b/gio/giomm/init.cc
@@ -18,6 +18,7 @@
  */
 
 #include "init.h"
+#include <glibmm/init.h>
 
 namespace Gio
 {



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