pan2 r337 - in trunk: . pan/data-impl



Author: fejj
Date: Mon Jun  9 14:37:24 2008
New Revision: 337
URL: http://svn.gnome.org/viewvc/pan2?rev=337&view=rev

Log:
glib-2.16 moved g_assert from gmessages.h to gtestutils.h (which doesn't exist in earlier glib versions) so just #include <glib.h> for g_assert()

Added:
   trunk/MAINTAINERS
Modified:
   trunk/pan/data-impl/headers.cc
   trunk/pan/data-impl/my-tree.cc

Added: trunk/MAINTAINERS
==============================================================================
--- (empty file)
+++ trunk/MAINTAINERS	Mon Jun  9 14:37:24 2008
@@ -0,0 +1,3 @@
+Charles Kerr
+E-mail: charles rebelbase com
+Userid: charles

Modified: trunk/pan/data-impl/headers.cc
==============================================================================
--- trunk/pan/data-impl/headers.cc	(original)
+++ trunk/pan/data-impl/headers.cc	Mon Jun  9 14:37:24 2008
@@ -27,8 +27,8 @@
 extern "C" {
   #include <sys/types.h> // for chmod
   #include <sys/stat.h> // for chmod
+  #include <glib.h> // for g_assert
   #include <glib/gi18n.h>
-  #include <glib/gmessages.h> // for g_assert
 }
 #include <pan/general/debug.h>
 #include <pan/general/foreach.h>

Modified: trunk/pan/data-impl/my-tree.cc
==============================================================================
--- trunk/pan/data-impl/my-tree.cc	(original)
+++ trunk/pan/data-impl/my-tree.cc	Mon Jun  9 14:37:24 2008
@@ -19,7 +19,7 @@
 
 #include <config.h>
 #include <cassert>
-#include <glib/gmessages.h> // for g_assert
+#include <glib.h> // for g_assert
 #include <pan/general/debug.h>
 #include <pan/general/foreach.h>
 #include <pan/general/quark.h>



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