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:
parent
7edf5066db
commit
34af2eebe1
|
@ -215,7 +215,7 @@ hostx_set_screen_number(EphyrScreenInfo screen, int number)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
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);
|
struct EphyrHostScreen *host_screen = host_screen_from_screen_info(screen);
|
||||||
|
|
||||||
|
|
|
@ -171,7 +171,7 @@ void
|
||||||
hostx_set_screen_number(EphyrScreenInfo screen, int number);
|
hostx_set_screen_number(EphyrScreenInfo screen, int number);
|
||||||
|
|
||||||
void
|
void
|
||||||
hostx_set_win_title(EphyrScreenInfo screen, char *extra_text);
|
hostx_set_win_title(EphyrScreenInfo screen, const char *extra_text);
|
||||||
|
|
||||||
int
|
int
|
||||||
hostx_get_depth(void);
|
hostx_get_depth(void);
|
||||||
|
|
Loading…
Reference in New Issue