--- a/src/gf_preferences.c Wed Apr 07 02:17:21 2021 -0500
+++ b/src/gf_preferences.c Wed Apr 07 02:20:10 2021 -0500
@@ -24,14 +24,9 @@
-# include "../gf_config.h"
@@ -614,21 +609,14 @@
-theme_got_url(PurpleHttpConnection *conn, PurpleHttpResponse *resp,
+theme_got_url(PurpleUtilFetchUrlData *url_data, void *data, + const char *themedata, size_t len, const gchar *err_msg) - const gchar *themedata;
- if(!purple_http_response_is_successfull(resp))
- themedata = purple_http_response_get_data(resp, &len);
f = purple_mkstemp(&path, FALSE);
fwrite(themedata, len, 1, f);
@@ -672,7 +660,7 @@
* other platforms, if need be */
/* Q: shouldn't tgz be tail? */
- purple_http_get(NULL, name, theme_got_url, ".tgz");
+ purple_util_fetch_url(name, TRUE, NULL, FALSE, theme_got_url, ".tgz"); gtk_drag_finish(dc, TRUE, FALSE, t);