ephyr: Fix const-cast warnings for setting window title.
authorEric Anholt <eric@anholt.net>
Sat, 17 Aug 2013 11:01:32 +0000 (13:01 +0200)
committerEric Anholt <eric@anholt.net>
Wed, 21 Aug 2013 16:10:37 +0000 (09:10 -0700)
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Julien Cristau <jcristau@debian.org>
hw/kdrive/ephyr/hostx.c
hw/kdrive/ephyr/hostx.h

index f2b458d..5071289 100644 (file)
@@ -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);
 
index 38b7b37..f47297c 100644 (file)
@@ -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);