--- a/src/gf_preferences.c Wed Jan 16 22:18:55 2013 -0600
+++ b/src/gf_preferences.c Wed Jan 16 23:31:33 2013 -0600
@@ -31,6 +31,7 @@
@@ -613,14 +614,21 @@
-theme_got_url(PurpleUtilFetchUrlData *url_data, void *data,
- const char *themedata, size_t len, const gchar *err_msg)
+theme_got_url(PurpleHttpConnection *conn, PurpleHttpResponse *resp, + 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);
@@ -664,7 +672,7 @@
* other platforms, if need be */
/* Q: shouldn't tgz be tail? */
- purple_util_fetch_url(name, TRUE, NULL, FALSE, -1, theme_got_url, ".tgz");
+ purple_http_get(NULL, name, theme_got_url, ".tgz"); gtk_drag_finish(dc, TRUE, FALSE, t);