From: RĂ©mi Denis-Courmont Date: Sun, 2 Sep 2007 07:22:32 +0000 (+0000) Subject: Add missing const - should fix a few Qt4 warnings X-Git-Tag: 0.9.0-test0~5931 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;ds=sidebyside;h=ee1838d703dd65e5a9c8d60733029611bb63c64e;hp=806d1fd1b89cf3ce2896fda27c623fcfc5758f0a;p=vlc Add missing const - should fix a few Qt4 warnings --- diff --git a/share/pda-forwardb16x16.xpm b/share/pda-forwardb16x16.xpm index d4e25158c2..c66255bc34 100644 --- a/share/pda-forwardb16x16.xpm +++ b/share/pda-forwardb16x16.xpm @@ -1,5 +1,5 @@ /* XPM */ -static char * familiar_forwardb16x16_xpm[] = { +static const char *const familiar_forwardb16x16_xpm[] = { "16 16 2 1", " c None", ". c #000000", diff --git a/share/pda-openb16x16.xpm b/share/pda-openb16x16.xpm index 343de044ad..7924d40829 100644 --- a/share/pda-openb16x16.xpm +++ b/share/pda-openb16x16.xpm @@ -1,5 +1,5 @@ /* XPM */ -static char * familiar_openb16x16_xpm[] = { +static const char *const familiar_openb16x16_xpm[] = { "16 16 2 1", " c None", ". c #000000", diff --git a/share/pda-pauseb16x16.xpm b/share/pda-pauseb16x16.xpm index bce7c6c655..11d3b9560c 100644 --- a/share/pda-pauseb16x16.xpm +++ b/share/pda-pauseb16x16.xpm @@ -1,5 +1,5 @@ /* XPM */ -static char * familiar_pauseb16x16_xpm[] = { +static const char *const familiar_pauseb16x16_xpm[] = { "16 16 2 1", " c None", ". c #000000", diff --git a/share/pda-playb16x16.xpm b/share/pda-playb16x16.xpm index 3bf1e466ea..f43d91d37d 100644 --- a/share/pda-playb16x16.xpm +++ b/share/pda-playb16x16.xpm @@ -1,5 +1,5 @@ /* XPM */ -static char * familiar_playb16x16_xpm[] = { +static const char *const familiar_playb16x16_xpm[] = { "16 16 2 1", " c None", ". c #000000", diff --git a/share/pda-playlistb16x16.xpm b/share/pda-playlistb16x16.xpm index a8daf90f29..cb81e3ad52 100644 --- a/share/pda-playlistb16x16.xpm +++ b/share/pda-playlistb16x16.xpm @@ -1,5 +1,5 @@ /* XPM */ -static char * familiar_playlistb16x16_xpm[] = { +static const char *const familiar_playlistb16x16_xpm[] = { "16 16 2 1", " c None", ". c #000000", diff --git a/share/pda-preferencesb16x16.xpm b/share/pda-preferencesb16x16.xpm index 3b5a318854..49be8b5a73 100644 --- a/share/pda-preferencesb16x16.xpm +++ b/share/pda-preferencesb16x16.xpm @@ -1,5 +1,5 @@ /* XPM */ -static char * familiar_preferencesb16x16_xpm[] = { +static const char *const familiar_preferencesb16x16_xpm[] = { "16 16 2 1", " c None", ". c #000000", diff --git a/share/pda-rewindb16x16.xpm b/share/pda-rewindb16x16.xpm index bb8027aa6c..ec638b8b9b 100644 --- a/share/pda-rewindb16x16.xpm +++ b/share/pda-rewindb16x16.xpm @@ -1,5 +1,5 @@ /* XPM */ -static char * familiar_rewindb16x16_xpm[] = { +static const char *const familiar_rewindb16x16_xpm[] = { "16 16 2 1", " c None", ". c #000000", diff --git a/share/pda-stopb16x16.xpm b/share/pda-stopb16x16.xpm index 4f0d07f004..e50bf11b77 100644 --- a/share/pda-stopb16x16.xpm +++ b/share/pda-stopb16x16.xpm @@ -1,5 +1,5 @@ /* XPM */ -static char * familiar_stopb16x16_xpm[] = { +static const char *const familiar_stopb16x16_xpm[] = { "16 16 2 1", " c None", ". c #000000", diff --git a/share/vlc16x16.xpm b/share/vlc16x16.xpm index eb2c697e02..8a93eb5b5d 100644 --- a/share/vlc16x16.xpm +++ b/share/vlc16x16.xpm @@ -1,5 +1,5 @@ /* XPM */ -static char *vlc16x16_xpm[] = { +static const char *constvlc16x16_xpm[] = { /* width height ncolors chars_per_pixel */ "16 16 57 2", /* colors */ diff --git a/share/vlc32x32.xpm b/share/vlc32x32.xpm index 5dc7fb506d..736348343b 100644 --- a/share/vlc32x32.xpm +++ b/share/vlc32x32.xpm @@ -1,5 +1,5 @@ /* XPM */ -static char *vlc_xpm[] = { +static const char *constvlc_xpm[] = { /* width height ncolors chars_per_pixel */ "32 32 144 2", /* colors */