[ekiga/gnome-2-26] Fixed problem with moving libsoup api
- From: Julien Puydt <jpuydt src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [ekiga/gnome-2-26] Fixed problem with moving libsoup api
- Date: Tue, 25 Aug 2009 12:18:03 +0000 (UTC)
commit 4a5f89edc1a3f9066ab34a41a464cdcd5b8b8f7d
Author: Julien Puydt <jpuydt gnome org>
Date: Tue Aug 25 14:15:13 2009 +0200
Fixed problem with moving libsoup api
Thanks Dominique Leuenberger for noticing and helping fix
the issue
lib/engine/components/xcap/xcap-core.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/lib/engine/components/xcap/xcap-core.cpp b/lib/engine/components/xcap/xcap-core.cpp
index 339e60a..3a4cd30 100644
--- a/lib/engine/components/xcap/xcap-core.cpp
+++ b/lib/engine/components/xcap/xcap-core.cpp
@@ -233,7 +233,7 @@ XCAP::CoreImpl::read (gmref_ptr<Path> path,
/* all of this is freed in the result callback */
session = soup_session_async_new_with_options ("user-agent", "ekiga", NULL);
- message = soup_message_new (SOUP_METHOD_GET, path->to_uri ().c_str ());
+ message = soup_message_new ("GET", path->to_uri ().c_str ());
data = new cb_read_data;
data->core = this;
data->path = path;
@@ -262,7 +262,7 @@ XCAP::CoreImpl::write (gmref_ptr<Path> path,
/* all of this is freed in the result callback */
session = soup_session_async_new_with_options ("user-agent", "ekiga", NULL);
- message = soup_message_new (SOUP_METHOD_PUT, path->to_uri ().c_str ());
+ message = soup_message_new ("PUT", path->to_uri ().c_str ());
soup_message_set_request (message, content_type.c_str (),
SOUP_MEMORY_COPY,
content.c_str (), content.length ());
@@ -293,7 +293,7 @@ XCAP::CoreImpl::erase (gmref_ptr<Path> path,
/* all of this is freed in the result callback */
session = soup_session_async_new_with_options ("user-agent", "ekiga", NULL);
- message = soup_message_new (SOUP_METHOD_DELETE, path->to_uri ().c_str ());
+ message = soup_message_new ("DELETE", path->to_uri ().c_str ());
data = new cb_other_data;
data->core = this;
data->path = path;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]