libepc r183 - in trunk: . libepc



Author: hasselmm
Date: Wed Jan  9 22:35:33 2008
New Revision: 183
URL: http://svn.gnome.org/viewvc/libepc?rev=183&view=rev

Log:
Build with latest gio version (#508272, Emilio Pozuelo Monfort).

* libepc/publisher.c: Include <gio/gio.h> instead of
<gio/gcontenttype.h>.


Modified:
   trunk/ChangeLog
   trunk/libepc/publisher.c

Modified: trunk/libepc/publisher.c
==============================================================================
--- trunk/libepc/publisher.c	(original)
+++ trunk/libepc/publisher.c	Wed Jan  9 22:35:33 2008
@@ -28,8 +28,8 @@
 #include <glibconfig.h>
 #include <glib/gi18n-lib.h>
 
-#if GLIB_CHECK_VERSION(2,15,0)
-#include <gio/gcontenttype.h>
+#if GLIB_CHECK_VERSION(2,15,1)
+#include <gio/gio.h>
 #endif
 
 #include <libsoup/soup-address.h>
@@ -312,7 +312,7 @@
     {
       gchar *type = NULL;
 
-#if GLIB_CHECK_VERSION(2,15,0)
+#if GLIB_CHECK_VERSION(2,15,1)
       type = g_content_type_guess (filename, (gpointer) data, length, NULL);
 #endif
       contents = epc_contents_new (type, data, length, g_free);



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