summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-27 14:19:48 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-27 14:19:48 +0000
commita5ee26b559959f3049677fd47f4c3619f0c57fd6 (patch)
treef0da45a378321b27dbe30b6e981c0de13c0a925e
parent467013ecdc98ad80d50f425af1e41efc63a37f1f (diff)
downloadmpv-a5ee26b559959f3049677fd47f4c3619f0c57fd6.tar.bz2
mpv-a5ee26b559959f3049677fd47f4c3619f0c57fd6.tar.xz
vo_x11_classhint name argument should be const, since we pass string constants there.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30125 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libvo/x11_common.c2
-rw-r--r--libvo/x11_common.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index d1911401ce..5af4f19ac3 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -733,7 +733,7 @@ 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)
{
XClassHint wmClass;
pid_t pid = getpid();
diff --git a/libvo/x11_common.h b/libvo/x11_common.h
index c7221d2577..bea422e8b5 100644
--- a/libvo/x11_common.h
+++ b/libvo/x11_common.h
@@ -63,7 +63,7 @@ void vo_uninit( void );
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);