Mercurial > mplayer.hg
changeset 25715:09c3ce60f369
Make xpm arrays really const (I missed that they are not strings but
array of strings (string pointers)).
line wrap: on
line diff
--- a/gui/mplayer/pixmaps/MPlayer_mini.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/MPlayer_mini.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * MPlayer_mini_xpm[] = { +static const char * const MPlayer_mini_xpm[] = { "146 121 514 2", " c None", ". c #2C2256",
--- a/gui/mplayer/pixmaps/a11.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/a11.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * a11_xpm[] = { +static const char * const a11_xpm[] = { "18 16 3 1", " c None", ". c #000000",
--- a/gui/mplayer/pixmaps/a169.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/a169.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * a169_xpm[] = { +static const char * const a169_xpm[] = { "18 16 3 1", " c None", ". c #000000",
--- a/gui/mplayer/pixmaps/a235.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/a235.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * a235_xpm[] = { +static const char * const a235_xpm[] = { "18 16 3 1", " c None", ". c #000000",
--- a/gui/mplayer/pixmaps/a43.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/a43.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * a43_xpm[] = { +static const char * const a43_xpm[] = { "18 16 3 1", " c None", ". c #000000",
--- a/gui/mplayer/pixmaps/ab.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/ab.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * ab_xpm[] = { +static const char * const ab_xpm[] = { "16 16 15 1", " c None", ". c #000000",
--- a/gui/mplayer/pixmaps/about.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/about.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * about_xpm[] = { +static const char * const about_xpm[] = { "320 170 254 2", " c None", ". c #070707",
--- a/gui/mplayer/pixmaps/aspect.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/aspect.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * aspect_xpm[] = { +static const char * const aspect_xpm[] = { "16 16 3 1", " c None", ". c #000000",
--- a/gui/mplayer/pixmaps/cancel.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/cancel.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * cancel_xpm[] = { +static const char * const cancel_xpm[] = { "55 16 120 2", " c None", ". c #786663",
--- a/gui/mplayer/pixmaps/chapter.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/chapter.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * chapter_xpm[] = { +static const char * const chapter_xpm[] = { "16 16 4 1", " c None", ". c #000000",
--- a/gui/mplayer/pixmaps/delsub.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/delsub.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * delsub_xpm[] = { +static const char * const delsub_xpm[] = { "16 16 3 1", " c None", ". c #CD0909",
--- a/gui/mplayer/pixmaps/dir.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/dir.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * dir_xpm[] = { +static const char * const dir_xpm[] = { "16 16 129 2", " c None", ". c #B5C7C7",
--- a/gui/mplayer/pixmaps/dolby.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/dolby.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * dolby_xpm[] = { +static const char * const dolby_xpm[] = { "16 11 9 1", " c None", ". c #000000",
--- a/gui/mplayer/pixmaps/double.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/double.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * double_xpm[] = { +static const char * const double_xpm[] = { "16 16 132 2", " c None", ". c #000000",
--- a/gui/mplayer/pixmaps/dvd.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/dvd.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * dvd_xpm[] = { +static const char * const dvd_xpm[] = { "16 16 110 2", " c None", ". c #CACCD2",
--- a/gui/mplayer/pixmaps/empty.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/empty.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * empty_xpm[] = { +static const char * const empty_xpm[] = { "16 16 1 1", " c None", " ",
--- a/gui/mplayer/pixmaps/empty1px.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/empty1px.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * empty1px_xpm[] = { +static const char * const empty1px_xpm[] = { "1 1 1 1", " c None", " "};
--- a/gui/mplayer/pixmaps/eq.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/eq.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * eq_xpm[] = { +static const char * const eq_xpm[] = { "16 16 16 1", " c None", ". c #000000",
--- a/gui/mplayer/pixmaps/error.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/error.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * error_xpm[] = { +static const char * const error_xpm[] = { "48 47 494 2", " c None", ". c #A56152",
--- a/gui/mplayer/pixmaps/exit.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/exit.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * exit_xpm[] = { +static const char * const exit_xpm[] = { "16 16 63 1", " c None", ". c #000000",
--- a/gui/mplayer/pixmaps/file.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/file.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * file_xpm[] = { +static const char * const file_xpm[] = { "16 16 7 1", " c None", ". c #9A9A9A",
--- a/gui/mplayer/pixmaps/file2.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/file2.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * file2_xpm[] = { +static const char * const file2_xpm[] = { "16 16 8 1", " c None", ". c #000000",
--- a/gui/mplayer/pixmaps/fs.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/fs.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * fs_xpm[] = { +static const char * const fs_xpm[] = { "16 16 90 1", " c None", ". c #000000",
--- a/gui/mplayer/pixmaps/half.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/half.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * half_xpm[] = { +static const char * const half_xpm[] = { "16 16 125 2", " c None", ". c #000000",
--- a/gui/mplayer/pixmaps/icon.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/icon.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * icon_xpm[] = { +static const char * const icon_xpm[] = { "64 64 256 2", " c None", ". c #060606",
--- a/gui/mplayer/pixmaps/loadeaf.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/loadeaf.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * loadeaf_xpm[] = { +static const char * const loadeaf_xpm[] = { "16 16 132 2", " c None", ". c #5C5C5C",
--- a/gui/mplayer/pixmaps/logo.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/logo.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * logo_xpm[] = { +static const char * const logo_xpm[] = { "101 83 1141 2", " c None", ". c #9094BB",
--- a/gui/mplayer/pixmaps/mplayer-desktop.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/mplayer-desktop.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * mplayer_desktop_xpm[] = { +static const char * const mplayer_desktop_xpm[] = { "47 39 107 2", " c None", ". c #6D619F",
--- a/gui/mplayer/pixmaps/next.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/next.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * next_xpm[] = { +static const char * const next_xpm[] = { "16 16 60 1", " c None", ". c #000000",
--- a/gui/mplayer/pixmaps/normal.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/normal.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * normal_xpm[] = { +static const char * const normal_xpm[] = { "16 16 111 2", " c None", ". c #000000",
--- a/gui/mplayer/pixmaps/ok.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/ok.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * ok_xpm[] = { +static const char * const ok_xpm[] = { "37 16 5 1", " c None", ". c #3539EC",
--- a/gui/mplayer/pixmaps/open.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/open.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * open_xpm[] = { +static const char * const open_xpm[] = { "16 16 64 1", " c None", ". c #000000",
--- a/gui/mplayer/pixmaps/pause.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/pause.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * pause_xpm[] = { +static const char * const pause_xpm[] = { "16 16 29 1", " c None", ". c #000000",
--- a/gui/mplayer/pixmaps/pl.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/pl.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * pl_xpm[] = { +static const char * const pl_xpm[] = { "16 16 7 1", " c None", ". c #000000",
--- a/gui/mplayer/pixmaps/play.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/play.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * play_xpm[] = { +static const char * const play_xpm[] = { "16 16 37 1", " c None", ". c #000000",
--- a/gui/mplayer/pixmaps/playdvd.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/playdvd.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * playdvd_xpm[] = { +static const char * const playdvd_xpm[] = { "16 16 118 2", " c None", ". c #CACCD2",
--- a/gui/mplayer/pixmaps/playvcd.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/playvcd.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * playvcd_xpm[] = { +static const char * const playvcd_xpm[] = { "16 16 182 2", " c None", ". c #CC9665",
--- a/gui/mplayer/pixmaps/prefs.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/prefs.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * prefs_xpm[] = { +static const char * const prefs_xpm[] = { "16 16 50 1", " c None", ". c #000000",
--- a/gui/mplayer/pixmaps/prev.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/prev.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * prev_xpm[] = { +static const char * const prev_xpm[] = { "16 16 58 1", " c None", ". c #000000",
--- a/gui/mplayer/pixmaps/question.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/question.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * question_xpm[] = { +static const char * const question_xpm[] = { "48 48 284 2", " c None", ". c #9B4C3A",
--- a/gui/mplayer/pixmaps/skin.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/skin.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * skin_xpm[] = { +static const char * const skin_xpm[] = { "16 16 162 2", " c None", ". c #DBA97F",
--- a/gui/mplayer/pixmaps/sound.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/sound.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * sound_xpm[] = { +static const char * const sound_xpm[] = { "16 16 121 2", " c None", ". c #939CA9",
--- a/gui/mplayer/pixmaps/stop.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/stop.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * stop_xpm[] = { +static const char * const stop_xpm[] = { "48 48 203 2", " c None", ". c #5A5A5A",
--- a/gui/mplayer/pixmaps/stop2.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/stop2.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * stop2_xpm[] = { +static const char * const stop2_xpm[] = { "16 16 29 1", " c None", ". c #000000",
--- a/gui/mplayer/pixmaps/sub.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/sub.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * sub_xpm[] = { +static const char * const sub_xpm[] = { "16 16 2 1", " c None", ". c #000000",
--- a/gui/mplayer/pixmaps/title.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/title.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * title_xpm[] = { +static const char * const title_xpm[] = { "16 16 4 1", " c None", ". c #000000",
--- a/gui/mplayer/pixmaps/tongue.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/tongue.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * tongue_xpm[] = { +static const char * const tongue_xpm[] = { "16 16 150 2", " c None", ". c #FC151B",
--- a/gui/mplayer/pixmaps/tonguebla.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/tonguebla.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * tonguebla_xpm[] = { +static const char * const tonguebla_xpm[] = { "16 16 137 2", " c None", ". c #FC151B",
--- a/gui/mplayer/pixmaps/up.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/up.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * up_xpm[] = { +static const char * const up_xpm[] = { "16 16 93 2", " c None", ". c #000000",
--- a/gui/mplayer/pixmaps/url.xpm Sun Jan 13 16:43:36 2008 +0000 +++ b/gui/mplayer/pixmaps/url.xpm Sun Jan 13 16:52:33 2008 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static const char * url_xpm[] = { +static const char * const url_xpm[] = { "16 16 2 1", " c None", ". c #000000",