libpurple/protocols/facebook/http.h

changeset 40029
70a9571132e4
parent 39819
3554dac2991b
child 40031
e1f89f9596cf
--- a/libpurple/protocols/facebook/http.h	Thu Jul 04 00:27:14 2019 -0400
+++ b/libpurple/protocols/facebook/http.h	Thu Oct 10 01:39:27 2019 -0400
@@ -32,6 +32,7 @@
  */
 
 #include <glib.h>
+#include <libsoup/soup.h>
 
 #include <libpurple/http.h>
 
@@ -153,16 +154,15 @@
 
 /**
  * fb_http_error_chk:
- * @res: The #PurpleHttpResponse.
+ * @res: The #SoupMessage.
  * @error: The return location for the #GError or #NULL.
  *
- * Checks a #PurpleHttpResponse for success. This optionally assigns an
+ * Checks a #SoupMessage for success. This optionally assigns an
  * appropriate #GError upon failure.
  *
  * Returns: #TRUE if the request was successful, otherwise #FALSE.
  */
-gboolean
-fb_http_error_chk(PurpleHttpResponse *res, GError **error);
+gboolean fb_http_error_chk(SoupMessage *res, GError **error);
 
 /**
  * fb_http_params_new:

mercurial