Mercurial > pidgin.yaz
diff src/whiteboard.c @ 11506:88d504770c60
[gaim-migrate @ 13751]
Fix some C99isms in the whiteboard code. Hopefully I didn't break anything.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 11 Sep 2005 05:37:31 +0000 |
parents | 7fab28c991f3 |
children | 2e3a6dcebaf3 |
line wrap: on
line diff
--- a/src/whiteboard.c Sun Sep 11 05:19:46 2005 +0000 +++ b/src/whiteboard.c Sun Sep 11 05:37:31 2005 +0000 @@ -59,13 +59,14 @@ { //g_print( "gaim_whiteboard_create()\n" ); + GaimPluginProtocolInfo *prpl_info; GaimWhiteboard *wb = g_new0( GaimWhiteboard, 1 ); - + wb->account = account; wb->state = state; wb->who = g_strdup( who ); - GaimPluginProtocolInfo *prpl_info = GAIM_PLUGIN_PROTOCOL_INFO( account->gc->prpl ); + prpl_info = GAIM_PLUGIN_PROTOCOL_INFO( account->gc->prpl ); gaim_whiteboard_set_prpl_ops( wb, prpl_info->whiteboard_prpl_ops ); // Start up protocol specifics