Mercurial > mplayer.hg
changeset 18773:518b5935a909
Make most of the xpm-files read 'const char*' instead of 'char*'
to reflect the read-only status of the xpm-definitions.
patch by Stefan Huehner stefan$$at$$huehner$$dot$$org
line wrap: on
line diff
--- a/Gui/mplayer/pixmaps/a11.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/a11.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * a11_xpm[] = { +static const char * a11_xpm[] = { "18 16 3 1", " c None", ". c #000000",
--- a/Gui/mplayer/pixmaps/a169.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/a169.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * a169_xpm[] = { +static const char * a169_xpm[] = { "18 16 3 1", " c None", ". c #000000",
--- a/Gui/mplayer/pixmaps/a235.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/a235.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * a235_xpm[] = { +static const char * a235_xpm[] = { "18 16 3 1", " c None", ". c #000000",
--- a/Gui/mplayer/pixmaps/a43.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/a43.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * a43_xpm[] = { +static const char * a43_xpm[] = { "18 16 3 1", " c None", ". c #000000",
--- a/Gui/mplayer/pixmaps/ab.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/ab.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * ab_xpm[] = { +static const char * ab_xpm[] = { "16 16 15 1", " c None", ". c #000000",
--- a/Gui/mplayer/pixmaps/aspect.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/aspect.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * aspect_xpm[] = { +static const char * aspect_xpm[] = { "16 16 3 1", " c None", ". c #000000",
--- a/Gui/mplayer/pixmaps/cancel.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/cancel.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * cancel_xpm[] = { +static const char * cancel_xpm[] = { "55 16 120 2", " c None", ". c #786663",
--- a/Gui/mplayer/pixmaps/chapter.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/chapter.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * chapter_xpm[] = { +static const char * chapter_xpm[] = { "16 16 4 1", " c None", ". c #000000",
--- a/Gui/mplayer/pixmaps/delsub.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/delsub.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * delsub_xpm[] = { +static const char * delsub_xpm[] = { "16 16 3 1", " c None", ". c #CD0909",
--- a/Gui/mplayer/pixmaps/dolby.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/dolby.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * dolby_xpm[] = { +static const char * dolby_xpm[] = { "16 11 9 1", " c None", ". c #000000",
--- a/Gui/mplayer/pixmaps/double.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/double.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * double_xpm[] = { +static const char * double_xpm[] = { "16 16 132 2", " c None", ". c #000000",
--- a/Gui/mplayer/pixmaps/dvd.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/dvd.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * dvd_xpm[] = { +static const char * dvd_xpm[] = { "16 16 110 2", " c None", ". c #CACCD2",
--- a/Gui/mplayer/pixmaps/empty.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/empty.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * empty_xpm[] = { +static const char * empty_xpm[] = { "16 16 1 1", " c None", " ",
--- a/Gui/mplayer/pixmaps/empty1px.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/empty1px.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * empty1px_xpm[] = { +static const char * empty1px_xpm[] = { "1 1 1 1", " c None", " "};
--- a/Gui/mplayer/pixmaps/eq.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/eq.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * eq_xpm[] = { +static const char * eq_xpm[] = { "16 16 16 1", " c None", ". c #000000",
--- a/Gui/mplayer/pixmaps/exit.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/exit.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * exit_xpm[] = { +static const char * exit_xpm[] = { "16 16 63 1", " c None", ". c #000000",
--- a/Gui/mplayer/pixmaps/file2.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/file2.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * file2_xpm[] = { +static const char * file2_xpm[] = { "16 16 8 1", " c None", ". c #000000",
--- a/Gui/mplayer/pixmaps/fs.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/fs.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * fs_xpm[] = { +static const char * fs_xpm[] = { "16 16 90 1", " c None", ". c #000000",
--- a/Gui/mplayer/pixmaps/half.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/half.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * half_xpm[] = { +static const char * half_xpm[] = { "16 16 125 2", " c None", ". c #000000",
--- a/Gui/mplayer/pixmaps/icon.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/icon.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * icon_xpm[] = { +static const char * icon_xpm[] = { "64 64 256 2", " c None", ". c #060606",
--- a/Gui/mplayer/pixmaps/loadeaf.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/loadeaf.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * loadeaf_xpm[] = { +static const char * loadeaf_xpm[] = { "16 16 132 2", " c None", ". c #5C5C5C",
--- a/Gui/mplayer/pixmaps/logo.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/logo.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * logo_xpm[] = { +static const char * logo_xpm[] = { "101 83 1141 2", " c None", ". c #9094BB",
--- a/Gui/mplayer/pixmaps/mplayer-desktop.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/mplayer-desktop.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * mplayer_desktop_xpm[] = { +static const char * mplayer_desktop_xpm[] = { "47 39 107 2", " c None", ". c #6D619F",
--- a/Gui/mplayer/pixmaps/next.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/next.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * next_xpm[] = { +static const char * next_xpm[] = { "16 16 60 1", " c None", ". c #000000",
--- a/Gui/mplayer/pixmaps/normal.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/normal.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * normal_xpm[] = { +static const char * normal_xpm[] = { "16 16 111 2", " c None", ". c #000000",
--- a/Gui/mplayer/pixmaps/ok.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/ok.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * ok_xpm[] = { +static const char * ok_xpm[] = { "37 16 5 1", " c None", ". c #3539EC",
--- a/Gui/mplayer/pixmaps/open.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/open.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * open_xpm[] = { +static const char * open_xpm[] = { "16 16 64 1", " c None", ". c #000000",
--- a/Gui/mplayer/pixmaps/pause.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/pause.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * pause_xpm[] = { +static const char * pause_xpm[] = { "16 16 29 1", " c None", ". c #000000",
--- a/Gui/mplayer/pixmaps/pl.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/pl.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * pl_xpm[] = { +static const char * pl_xpm[] = { "16 16 7 1", " c None", ". c #000000",
--- a/Gui/mplayer/pixmaps/play.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/play.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * play_xpm[] = { +static const char * play_xpm[] = { "16 16 37 1", " c None", ". c #000000",
--- a/Gui/mplayer/pixmaps/playdvd.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/playdvd.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * playdvd_xpm[] = { +static const char * playdvd_xpm[] = { "16 16 118 2", " c None", ". c #CACCD2",
--- a/Gui/mplayer/pixmaps/playvcd.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/playvcd.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * playvcd_xpm[] = { +static const char * playvcd_xpm[] = { "16 16 182 2", " c None", ". c #CC9665",
--- a/Gui/mplayer/pixmaps/prefs.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/prefs.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * prefs_xpm[] = { +static const char * prefs_xpm[] = { "16 16 50 1", " c None", ". c #000000",
--- a/Gui/mplayer/pixmaps/prev.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/prev.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * prev_xpm[] = { +static const char * prev_xpm[] = { "16 16 58 1", " c None", ". c #000000",
--- a/Gui/mplayer/pixmaps/question.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/question.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * question_xpm[] = { +static const char * question_xpm[] = { "48 48 284 2", " c None", ". c #9B4C3A",
--- a/Gui/mplayer/pixmaps/skin.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/skin.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * skin_xpm[] = { +static const char * skin_xpm[] = { "16 16 162 2", " c None", ". c #DBA97F",
--- a/Gui/mplayer/pixmaps/sound.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/sound.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * sound_xpm[] = { +static const char * sound_xpm[] = { "16 16 121 2", " c None", ". c #939CA9",
--- a/Gui/mplayer/pixmaps/stop.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/stop.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * stop_xpm[] = { +static const char * stop_xpm[] = { "48 48 203 2", " c None", ". c #5A5A5A",
--- a/Gui/mplayer/pixmaps/stop2.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/stop2.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * stop2_xpm[] = { +static const char * stop2_xpm[] = { "16 16 29 1", " c None", ". c #000000",
--- a/Gui/mplayer/pixmaps/sub.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/sub.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * sub_xpm[] = { +static const char * sub_xpm[] = { "16 16 2 1", " c None", ". c #000000",
--- a/Gui/mplayer/pixmaps/title.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/title.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * title_xpm[] = { +static const char * title_xpm[] = { "16 16 4 1", " c None", ". c #000000",
--- a/Gui/mplayer/pixmaps/tongue.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/tongue.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * tongue_xpm[] = { +static const char * tongue_xpm[] = { "16 16 150 2", " c None", ". c #FC151B",
--- a/Gui/mplayer/pixmaps/tonguebla.xpm Wed Jun 21 17:39:27 2006 +0000 +++ b/Gui/mplayer/pixmaps/tonguebla.xpm Wed Jun 21 17:42:54 2006 +0000 @@ -1,5 +1,5 @@ /* XPM */ -static char * tonguebla_xpm[] = { +static const char * tonguebla_xpm[] = { "16 16 137 2", " c None", ". c #FC151B",