mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +01:00
wmaker: Added 'const' attribute to function 'wWindowUpdateName'
Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
9b5db31d95
commit
c7ab9d34f7
@@ -1725,9 +1725,9 @@ void wWindowUnfocus(WWindow *wwin)
|
|||||||
WMPostNotificationName(WMNChangedFocus, wwin, (void *)False);
|
WMPostNotificationName(WMNChangedFocus, wwin, (void *)False);
|
||||||
}
|
}
|
||||||
|
|
||||||
void wWindowUpdateName(WWindow *wwin, char *newTitle)
|
void wWindowUpdateName(WWindow *wwin, const char *newTitle)
|
||||||
{
|
{
|
||||||
char *title;
|
const char *title;
|
||||||
|
|
||||||
if (!wwin->frame)
|
if (!wwin->frame)
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -342,7 +342,7 @@ void wUnmanageWindow(WWindow *wwin, Bool restore, Bool destroyed);
|
|||||||
void wWindowFocus(WWindow *wwin, WWindow *owin);
|
void wWindowFocus(WWindow *wwin, WWindow *owin);
|
||||||
void wWindowUnfocus(WWindow *wwin);
|
void wWindowUnfocus(WWindow *wwin);
|
||||||
|
|
||||||
void wWindowUpdateName(WWindow *wwin, char *newTitle);
|
void wWindowUpdateName(WWindow *wwin, const char *newTitle);
|
||||||
void wWindowConstrainSize(WWindow *wwin, unsigned int *nwidth, unsigned int *nheight);
|
void wWindowConstrainSize(WWindow *wwin, unsigned int *nwidth, unsigned int *nheight);
|
||||||
void wWindowCropSize(WWindow *wwin, unsigned int maxw, unsigned int maxh,
|
void wWindowCropSize(WWindow *wwin, unsigned int maxw, unsigned int maxh,
|
||||||
unsigned int *nwidth, unsigned int *nheight);
|
unsigned int *nwidth, unsigned int *nheight);
|
||||||
|
|||||||
Reference in New Issue
Block a user