comparison pidgin/gtksmiley.c @ 32679:904686722499

* purple_util_fetch_url_request_len() renamed to purple_util_fetch_url_request(). * purple_util_fetch_url_len() renamed to purple_util_fetch_url().
author andrew.victor@mxit.com
date Sat, 24 Sep 2011 22:09:40 +0000
parents e2c6e4fc3c84
children 02a2e8183b1d
comparison
equal deleted inserted replaced
32678:348a933fed78 32679:904686722499
748 gtk_dialog_response(GTK_DIALOG(ps->parent), GTK_RESPONSE_CANCEL); 748 gtk_dialog_response(GTK_DIALOG(ps->parent), GTK_RESPONSE_CANCEL);
749 g_free(tmp); 749 g_free(tmp);
750 } else if (!g_ascii_strncasecmp(name, "http://", 7)) { 750 } else if (!g_ascii_strncasecmp(name, "http://", 7)) {
751 /* Oo, a web drag and drop. This is where things 751 /* Oo, a web drag and drop. This is where things
752 * will start to get interesting */ 752 * will start to get interesting */
753 purple_util_fetch_url(name, TRUE, NULL, FALSE, smiley_got_url, dialog); 753 purple_util_fetch_url(name, TRUE, NULL, FALSE, -1, smiley_got_url, dialog);
754 } else if (!g_ascii_strncasecmp(name, "https://", 8)) { 754 } else if (!g_ascii_strncasecmp(name, "https://", 8)) {
755 /* purple_util_fetch_url() doesn't support HTTPS */ 755 /* purple_util_fetch_url() doesn't support HTTPS */
756 char *tmp = g_strdup(name + 1); 756 char *tmp = g_strdup(name + 1);
757 tmp[0] = 'h'; 757 tmp[0] = 'h';
758 tmp[1] = 't'; 758 tmp[1] = 't';
759 tmp[2] = 't'; 759 tmp[2] = 't';
760 tmp[3] = 'p'; 760 tmp[3] = 'p';
761 761
762 purple_util_fetch_url(tmp, TRUE, NULL, FALSE, smiley_got_url, dialog); 762 purple_util_fetch_url(tmp, TRUE, NULL, FALSE, -1, smiley_got_url, dialog);
763 g_free(tmp); 763 g_free(tmp);
764 } 764 }
765 765
766 gtk_drag_finish(dc, TRUE, FALSE, t); 766 gtk_drag_finish(dc, TRUE, FALSE, t);
767 } 767 }