Mercurial > pidgin.yaz
comparison src/gtkaccount.c @ 12420:b7d77321b685
[gaim-migrate @ 14727]
gaim_accounts_reorder() should not be using size_t for new_index. I fixed it to use gint, the type of all the g_list functions involved.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 08 Dec 2005 21:50:49 +0000 |
parents | 5482836a0fac |
children | 17d22e9367a8 |
comparison
equal
deleted
inserted
replaced
12419:455610a80747 | 12420:b7d77321b685 |
---|---|
1985 drag_data_received_cb(GtkWidget *widget, GdkDragContext *ctx, | 1985 drag_data_received_cb(GtkWidget *widget, GdkDragContext *ctx, |
1986 guint x, guint y, GtkSelectionData *sd, | 1986 guint x, guint y, GtkSelectionData *sd, |
1987 guint info, guint t, AccountsWindow *dialog) | 1987 guint info, guint t, AccountsWindow *dialog) |
1988 { | 1988 { |
1989 if (sd->target == gdk_atom_intern("GAIM_ACCOUNT", FALSE) && sd->data) { | 1989 if (sd->target == gdk_atom_intern("GAIM_ACCOUNT", FALSE) && sd->data) { |
1990 size_t dest_index; | 1990 gint dest_index; |
1991 GaimAccount *a = NULL; | 1991 GaimAccount *a = NULL; |
1992 GtkTreePath *path = NULL; | 1992 GtkTreePath *path = NULL; |
1993 GtkTreeViewDropPosition position; | 1993 GtkTreeViewDropPosition position; |
1994 | 1994 |
1995 memcpy(&a, sd->data, sizeof(a)); | 1995 memcpy(&a, sd->data, sizeof(a)); |