changeset 30083:8375205ecdcc

vo_x11_classhint name argument should be const, since we pass string constants there.
author reimar
date Sun, 27 Dec 2009 14:19:48 +0000
parents 446f2ea148a4
children 90755c6344c7
files libvo/x11_common.c libvo/x11_common.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/x11_common.c	Sun Dec 27 14:13:06 2009 +0000
+++ b/libvo/x11_common.c	Sun Dec 27 14:19:48 2009 +0000
@@ -733,7 +733,7 @@
     }
 }
 
-void vo_x11_classhint(Display * display, Window window, char *name)
+void vo_x11_classhint(Display * display, Window window, const char *name)
 {
     XClassHint wmClass;
     pid_t pid = getpid();
--- a/libvo/x11_common.h	Sun Dec 27 14:13:06 2009 +0000
+++ b/libvo/x11_common.h	Sun Dec 27 14:19:48 2009 +0000
@@ -63,7 +63,7 @@
 void vo_hidecursor ( Display* , Window );
 void vo_showcursor( Display *disp, Window win );
 void vo_x11_decoration( Display * vo_Display,Window w,int d );
-void vo_x11_classhint( Display * display,Window window,char *name );
+void vo_x11_classhint( Display * display,Window window,const char *name );
 void vo_x11_nofs_sizepos(int x, int y, int width, int height);
 void vo_x11_sizehint( int x, int y, int width, int height, int max );
 int vo_x11_check_events(Display *mydisplay);