reimar
0b0a71b97c
Make xpm arrays really const (I missed that they are not strings but
...
array of strings (string pointers)).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25743 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-13 16:52:33 +00:00
reimar
0f5b555562
Make all gui xpm bitmaps const
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25742 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-13 16:43:36 +00:00
diego
b1760bdba5
Rename common.[ch], there are too many files by that name.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25631 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-06 16:31:26 +00:00
diego
d64cf43315
Rename common.[ch] to gtk_common.[ch], there are too many files by that name.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25629 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-06 16:22:00 +00:00
diego
fba0b66ff9
Add explanatory comments to the #endif part of multiple inclusion guards.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25563 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-31 16:15:50 +00:00
diego
98782a067a
Remove unused variables, fixes the warnings:
...
mplayer/gtk/fs.c:428: warning: unused variable 'j'
mplayer/gtk/fs.c:428: warning: unused variable 'size'
mplayer/gtk/fs.c:426: warning: unused variable 'str'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25276 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 23:01:01 +00:00
reimar
330359f85b
Get rid of fsPressed variable and related code. It does not really
...
have a function and some of the related code is hopelessly broken
(hand-implemented strrchr, writing to a const char* etc).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25264 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 17:45:08 +00:00
reimar
b022082564
Parameter of Filter function can be const, removes the warning
...
mplayer/gtk/fs.c:197: warning: passing argument 1 of 'Filter' discards qualifiers from pointer target type
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25263 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 16:52:19 +00:00
reimar
74be616f16
Fix return type of getGtkEntryText, it must be const
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25262 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 16:50:33 +00:00
reimar
d5a98e8598
Get rid of some "discards qualifiers" warnings
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25254 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 15:43:30 +00:00
diego
12d72c3661
warning fix:
...
mplayer/common.c: In function 'PutImage':
mplayer/common.c:188: warning: unused variable 'yc'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24256 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 10:48:53 +00:00
diego
26691d09f8
Remove redundant extern variable declarations, include proper headers instead.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24169 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-25 12:25:34 +00:00
diego
b4109f4efe
Remove unused extern variable declaration.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24133 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-24 09:15:21 +00:00
diego
e98f88e00e
Remove redundant variable declaration along with the corresponding warning.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24132 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-24 09:14:41 +00:00
diego
5c2b08d2d8
1000l: Revert stray hunk that crept in with last commit.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24131 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-24 09:12:00 +00:00
diego
38623fee68
Use consistent include path.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24130 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-24 00:11:15 +00:00
iive
78dbd8ba26
remove gconvert_uri_to_filename() and use url_unescape_string() instead.
...
reasons:
* gconvert strdup()s the original string, but it may exit without returning or freeing it.
* gconvert returns the original pointer when no % escaping is done. It is then free()ed and used in that state.
* gconvert doesn't consider that % may be at the end of the string and could continue parsing past the end.
* gconvert would try to free() pointer that iconv() have modified.
* gconvert would try to convert filenames from utf-8 to iso8859-1.
Seems like no other DnD programs convert to utf-8 and/or honors CHARSET.
Not converting seems to work best. Fix it if problem arises.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24106 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-20 14:17:43 +00:00
diego
f2a8f10af2
Fix a bunch of redundant redeclaration warnings.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23815 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-18 10:09:42 +00:00
diego
fe72927d6b
Remove unused variables.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23814 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-18 10:09:09 +00:00
diego
b000a6a519
ISO8859-1 --> UTF-8
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23754 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-09 19:50:36 +00:00
reimar
4c4a1070fe
Avoid code duplication and ugly config.h hack by using av_strlcat/av_strlcpy
...
instead of plain strlcat/strlcpy
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23723 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-05 22:01:07 +00:00
diego
3e9e4acd8d
Do not use leading underscores in multiple inclusion guards, they are reserved.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23709 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-02 22:34:45 +00:00
diego
d416c25c9b
Add consistent GUI prefix to multiple inclusion guards.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23705 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-02 20:55:05 +00:00
diego
897899ce90
Consistently use filenames as multiple inclusion guards.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23703 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-02 20:36:18 +00:00
reimar
8a11439a6e
Return value of gtk_entry_get_text is const, so declare variables as const as well.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23644 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 12:43:45 +00:00
reimar
6a09e8e2ed
Replace implicit use of fast_memcpy via macro by explicit use to allow
...
for future optimization.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23475 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-05 14:27:54 +00:00
reimar
1062d77439
get rid of Gui code that has been commented out since ages
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23464 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-04 13:16:39 +00:00
reimar
e8d57600dc
Factor out some duplicated gui code
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23463 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-04 13:15:35 +00:00
reimar
b609629b2b
Remove some useless code
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23462 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-04 13:05:26 +00:00
reimar
b8dee272f8
Remove two useless fastmemcpy.h includes in gui code.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23392 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-27 20:40:04 +00:00
reimar
974fc343bd
Include string.h for memcpy, fastmemcpy.h alone is not enough.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23323 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-16 21:45:46 +00:00
diego
07796de044
Fix several implicit declarations of functions warnings.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23172 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-29 12:44:34 +00:00
diego
d4082e1723
Remove duplicate #include.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23171 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-29 12:29:33 +00:00
diego
5c9abf7f9f
Gui --> gui
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23095 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-23 07:42:42 +00:00