pidgin/purple-plugin-pack
Clone
Summary
Browse
Changes
Graph
Fix a C99ism that only shows up on Win32 due to #ifdef blocks
org.guifications.plugins
2007-06-29, rekkanoryo
a4c2fdcb0b3f
Parents
89e621e74adf
Children
9a2c87cfcea1
99be26a2cbb6
Fix a C99ism that only shows up on Win32 due to #ifdef blocks
1 files changed, 3 insertions(+), 4 deletions(-)
+3
-4
album/album.c
--- 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 */