[easytag/wip/unstable] Make the picture type mapping array static



commit fdd6fe26151d411a763579e4c900d95ec64d0465
Author: David King <amigadave amigadave com>
Date:   Fri Mar 29 10:11:42 2013 +0000

    Make the picture type mapping array static

 src/picture.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/picture.c b/src/picture.c
index e02236a..67d0269 100644
--- a/src/picture.c
+++ b/src/picture.c
@@ -186,7 +186,7 @@ static EtPictureType
 et_picture_type_from_filename (const gchar *filename_utf8)
 {
     EtPictureType picture_type = ET_PICTURE_TYPE_FRONT_COVER;
-    const struct
+    static const struct
     {
         const gchar *type_str;
         const EtPictureType pic_type;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]