mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-26 23:25:08 +00:00
ephyr: Fix const-cast warnings for setting window title.
Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Julien Cristau <jcristau@debian.org>
This commit is contained in:
@@ -215,7 +215,7 @@ hostx_set_screen_number(EphyrScreenInfo screen, int number)
|
||||
}
|
||||
|
||||
void
|
||||
hostx_set_win_title(EphyrScreenInfo screen, char *extra_text)
|
||||
hostx_set_win_title(EphyrScreenInfo screen, const char *extra_text)
|
||||
{
|
||||
struct EphyrHostScreen *host_screen = host_screen_from_screen_info(screen);
|
||||
|
||||
|
||||
@@ -171,7 +171,7 @@ void
|
||||
hostx_set_screen_number(EphyrScreenInfo screen, int number);
|
||||
|
||||
void
|
||||
hostx_set_win_title(EphyrScreenInfo screen, char *extra_text);
|
||||
hostx_set_win_title(EphyrScreenInfo screen, const char *extra_text);
|
||||
|
||||
int
|
||||
hostx_get_depth(void);
|
||||
|
||||
Reference in New Issue
Block a user