pidgin/purple-plugin-pack

Fix a C99ism that only shows up on Win32 due to #ifdef blocks
org.guifications.plugins
2007-06-29, rekkanoryo
a4c2fdcb0b3f
Fix a C99ism that only shows up on Win32 due to #ifdef blocks
--- a/album/album.c Thu Jun 28 17:00:58 2007 -0400
+++ b/album/album.c Fri Jun 29 14:58:16 2007 -0400
@@ -155,6 +155,9 @@
char *filename;
char *path;
char *dir;
+ gconstpointer icon_data;
+ size_t len;
+ FILE *file;
#ifndef _WIN32
int status;
@@ -178,10 +181,6 @@
if (status != EEXIST)
{
#endif
- gconstpointer icon_data;
- size_t len;
- FILE *file;
-
icon_data = purple_buddy_icon_get_data(icon, &len);
/* WRITE THE DATA */