Mercurial > pidgin
changeset 3296:56df4d1dcad5
[gaim-migrate @ 3314]
Fewer compile warnings
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sun, 02 Jun 2002 06:00:00 +0000 |
parents | 5a56d8874c40 |
children | 6dde361875e9 |
files | src/applet.c src/protocols/msn/msn.c |
diffstat | 2 files changed, 9 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/applet.c Sat Jun 01 03:54:44 2002 +0000 +++ b/src/applet.c Sun Jun 02 06:00:00 2002 +0000 @@ -377,7 +377,7 @@ GTK_SIGNAL_FUNC(applet_change_pixel_size), NULL); #endif - applet_widget_send_draw(applet, TRUE); + applet_widget_send_draw(APPLET_WIDGET(applet), TRUE); gtk_signal_connect(GTK_OBJECT(applet), "do-draw", GTK_SIGNAL_FUNC(update_applet), NULL); gtk_widget_show(icon); gtk_widget_show(applet);
--- a/src/protocols/msn/msn.c Sat Jun 01 03:54:44 2002 +0000 +++ b/src/protocols/msn/msn.c Sun Jun 02 06:00:00 2002 +0000 @@ -1055,7 +1055,8 @@ md->fl = g_slist_append(md->fl, b); } else if (!g_strcasecmp(which, "AL") && pos) { char *dupl; - if ((dupl = g_slist_find_custom(gc->deny, who, strcmp))) { + if ((dupl = (char *)g_slist_find_custom(gc->deny, who, + (GCompareFunc)strcmp))) { debug_printf("moving from deny to permit: %s", who); gc->deny = g_slist_remove(gc->deny, dupl); } @@ -2215,7 +2216,7 @@ t = g_slist_append(t, who); continue; } - if ((dupl = g_slist_find(md->deny, who))) { + if ((dupl = (char *)g_slist_find(md->deny, who))) { t = g_slist_append(t, who); continue; } @@ -2249,7 +2250,7 @@ t = g_slist_append(t, who); continue; } - if ((dupl = g_slist_find(md->deny, who))) { + if ((dupl = (char *)g_slist_find(md->deny, who))) { t = g_slist_append(t, who); continue; } @@ -2286,7 +2287,8 @@ return; } - if ((dupl = g_slist_find_custom(gc->deny, who, strcmp))) { + if ((dupl = (char *)g_slist_find_custom(gc->deny, who, + (GCompareFunc)strcmp))) { debug_printf("MSN: Moving %s from BL to AL\n", who); gc->deny = g_slist_remove(gc->deny, dupl); g_snprintf(buf, sizeof(buf), "REM %d BL %s\r\n", ++md->trId, who); @@ -2338,7 +2340,8 @@ return; } - if ((dupl = g_slist_find_custom(gc->permit, who, strcmp))) { + if ((dupl = (char *)g_slist_find_custom(gc->permit, who, + (GCompareFunc)strcmp))) { debug_printf("MSN: Moving %s from AL to BL\n", who); gc->permit = g_slist_remove(gc->permit, dupl); g_snprintf(buf, sizeof(buf), "REM %d AL %s\r\n", ++md->trId, who);