[ekiga] Fixed problem with moving libsoup api



commit 5395e4741076ece219f0aa1710a4fc589a7269b7
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 7079144..e59fd44 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]