[totem] Make a small array const



commit d6d60e7d4041989aaa4e3db999f0ae071edeca85
Author: Sebastian Dröge <sebastian droege collabora co uk>
Date:   Mon Nov 16 17:04:51 2009 +0100

    Make a small array const

 src/totem-playlist.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/totem-playlist.c b/src/totem-playlist.c
index 560abb8..78eb431 100644
--- a/src/totem-playlist.c
+++ b/src/totem-playlist.c
@@ -145,7 +145,7 @@ typedef struct {
 	TotemPlParserType type;
 } PlaylistSaveType;
 
-static PlaylistSaveType save_types [] = {
+static const PlaylistSaveType save_types [] = {
 	{ NULL, NULL, -1 }, /* By extension entry */
 	{ N_("MP3 ShoutCast playlist"), "pls", TOTEM_PL_PARSER_PLS },
 	{ N_("MP3 audio (streamed)"), "m3u", TOTEM_PL_PARSER_M3U },



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