[MPlayer-cvslog] r30125 - in trunk/libvo: x11_common.c x11_common.h
reimar
subversion at mplayerhq.hu
Sun Dec 27 15:19:48 CET 2009
Author: reimar
Date: Sun Dec 27 15:19:48 2009
New Revision: 30125
Log:
vo_x11_classhint name argument should be const, since we pass string constants there.
Modified:
trunk/libvo/x11_common.c
trunk/libvo/x11_common.h
Modified: trunk/libvo/x11_common.c
==============================================================================
--- trunk/libvo/x11_common.c Sun Dec 27 15:13:06 2009 (r30124)
+++ trunk/libvo/x11_common.c Sun Dec 27 15:19:48 2009 (r30125)
@@ -733,7 +733,7 @@ void vo_x11_decoration(Display * vo_Disp
}
}
-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();
Modified: trunk/libvo/x11_common.h
==============================================================================
--- trunk/libvo/x11_common.h Sun Dec 27 15:13:06 2009 (r30124)
+++ trunk/libvo/x11_common.h Sun Dec 27 15:19:48 2009 (r30125)
@@ -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);
More information about the MPlayer-cvslog
mailing list