diff src/gtkblist.c @ 11137:096020ae09a9

[gaim-migrate @ 13201] Some more deworming. I mean, dewarning. I also realized that lots of glib uses guchar* instead of guint* for passing around bits of binary data, so I changed some stuff in util.c that I'd already changed. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 21 Jul 2005 05:49:48 +0000
parents f78e7e982cf4
children a511b77a368b
line wrap: on
line diff
--- a/src/gtkblist.c	Thu Jul 21 04:16:35 2005 +0000
+++ b/src/gtkblist.c	Thu Jul 21 05:49:48 2005 +0000
@@ -1913,7 +1913,7 @@
 		gtk_selection_data_set(data,
 					gdk_atom_intern("application/x-im-contact", FALSE),
 					8, /* bits */
-					mime_str,
+					(const guchar *)mime_str,
 					strlen(mime_str) + 1);
 
 		g_free(mime_str);
@@ -2111,7 +2111,7 @@
 			}
 		}
 
-		if (gaim_gtk_parse_x_im_contact(sd->data, FALSE, &account,
+		if (gaim_gtk_parse_x_im_contact((const char *)sd->data, FALSE, &account,
 										&protocol, &username, &alias))
 		{
 			if (account == NULL)
@@ -2172,7 +2172,7 @@
 			}
 		}
 
-		result = parse_vcard(sd->data, group);
+		result = parse_vcard((const gchar *)sd->data, group);
 
 		gtk_drag_finish(dc, result, (dc->action == GDK_ACTION_MOVE), t);
 	} else if (sd->target == gdk_atom_intern("text/uri-list", FALSE) && sd->data) {
@@ -2209,8 +2209,8 @@
 	GdkPixbuf *buf, *ret = NULL;
 	GdkPixbufLoader *loader;
 	GaimBuddyIcon *icon;
-	const char *data;
-	size_t len;
+	const guchar *data;
+	gsize len;
 	GaimBuddy *buddy = (GaimBuddy *)node;
 
 	if(GAIM_BLIST_NODE_IS_CONTACT(node)) {