Add some missing const qualifiers
This commit is contained in:
parent
ea7e1feb7e
commit
4384b8ee43
|
@ -116,7 +116,7 @@ __imlib_AddImagePixmapToCache(ImlibImage * im, Pixmap pmap, Pixmap mask,
|
|||
}
|
||||
|
||||
void
|
||||
__imlib_PixmapUnrefImage(ImlibImage * im)
|
||||
__imlib_PixmapUnrefImage(const ImlibImage * im)
|
||||
{
|
||||
ImlibImagePixmap *ip;
|
||||
|
||||
|
@ -245,7 +245,7 @@ __imlib_FreePixmap(Display * d, Pixmap p)
|
|||
/* wont pick up on them again since they are now invalid since the original */
|
||||
/* data they were generated from has changed */
|
||||
void
|
||||
__imlib_DirtyPixmapsForImage(ImlibImage * im)
|
||||
__imlib_DirtyPixmapsForImage(const ImlibImage * im)
|
||||
{
|
||||
ImlibImagePixmap *ip;
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ void __imlib_CleanupImagePixmapCache(void);
|
|||
int __imlib_PixmapCacheSize(void);
|
||||
|
||||
void __imlib_FreePixmap(Display * d, Pixmap p);
|
||||
void __imlib_DirtyPixmapsForImage(ImlibImage * im);
|
||||
void __imlib_PixmapUnrefImage(ImlibImage * im);
|
||||
void __imlib_DirtyPixmapsForImage(const ImlibImage * im);
|
||||
void __imlib_PixmapUnrefImage(const ImlibImage * im);
|
||||
|
||||
#endif /* X11_PIXMAP_H */
|
||||
|
|
Loading…
Reference in New Issue