Mercurial > pidgin
diff src/gtkprefs.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 | e25575a59f01 |
children | a511b77a368b |
line wrap: on
line diff
--- a/src/gtkprefs.c Thu Jul 21 04:16:35 2005 +0000 +++ b/src/gtkprefs.c Thu Jul 21 05:49:48 2005 +0000 @@ -585,18 +585,18 @@ g_free(path); } -static void theme_dnd_recv(GtkWidget *widget, GdkDragContext *dc, guint x, guint y, GtkSelectionData *sd, +static void theme_dnd_recv(GtkWidget *widget, GdkDragContext *dc, guint x, guint y, GtkSelectionData *sd, guint info, guint t, gpointer data) { - gchar *name = sd->data; + gchar *name = (gchar *)sd->data; if ((sd->length >= 0) && (sd->format == 8)) { - /* Well, it looks like the drag event was cool. + /* Well, it looks like the drag event was cool. * Let's do something with it */ if (!g_ascii_strncasecmp(name, "file://", 7)) { GError *converr = NULL; gchar *tmp; - /* It looks like we're dealing with a local file. Let's + /* It looks like we're dealing with a local file. Let's * just untar it in the right place */ if(!(tmp = g_filename_from_uri(name, NULL, &converr))) { gaim_debug(GAIM_DEBUG_ERROR, "theme dnd", "%s\n",