libepc r192 - in trunk: . libepc
- From: hasselmm svn gnome org
- To: svn-commits-list gnome org
- Subject: libepc r192 - in trunk: . libepc
- Date: Wed, 16 Jan 2008 10:25:18 +0000 (GMT)
Author: hasselmm
Date: Wed Jan 16 10:25:18 2008
New Revision: 192
URL: http://svn.gnome.org/viewvc/libepc?rev=192&view=rev
Log:
Include just <libsoup/soup.h> when possible.
* libepc/consumer.c: Include just <libsoup/soup.h>.
* libepc/publisher.c: Include <libsoup/soup.h> instead of
<libsoup/soup-socket.h>. All the other API isn't exported by
<libsoup/soup.h> for some reason.
Modified:
trunk/ChangeLog
trunk/libepc/consumer.c
trunk/libepc/publisher.c
Modified: trunk/libepc/consumer.c
==============================================================================
--- trunk/libepc/consumer.c (original)
+++ trunk/libepc/consumer.c Wed Jan 16 10:25:18 2008
@@ -27,8 +27,7 @@
#include "shell.h"
#include <glib/gi18n-lib.h>
-#include <libsoup/soup-session-async.h>
-#include <libsoup/soup-uri.h>
+#include <libsoup/soup.h>
#include <string.h>
/**
Modified: trunk/libepc/publisher.c
==============================================================================
--- trunk/libepc/publisher.c (original)
+++ trunk/libepc/publisher.c Wed Jan 16 10:25:18 2008
@@ -27,19 +27,17 @@
#include <glibconfig.h>
#include <glib/gi18n-lib.h>
-
-#if GLIB_CHECK_VERSION(2,15,1)
-#include <gio/gio.h>
-#endif
-
+#include <libsoup/soup.h>
#include <libsoup/soup-address.h>
#include <libsoup/soup-server.h>
#include <libsoup/soup-server-auth.h>
#include <libsoup/soup-server-message.h>
-#include <libsoup/soup-socket.h>
-
#include <string.h>
+#if GLIB_CHECK_VERSION(2,15,1)
+#include <gio/gio.h>
+#endif
+
/**
* SECTION:auth-context
* @short_description: manage authentication
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]