diff gui/mplayer/gtk/opts.c @ 31385:f2aebe1309b2

Declare stop_xscreensaver extern in x11_common.h instead of all over the code.
author diego
date Thu, 17 Jun 2010 09:46:44 +0000
parents 39a4dd7ec420
children dc26022e9c27
line wrap: on
line diff
--- a/gui/mplayer/gtk/opts.c	Thu Jun 17 09:40:18 2010 +0000
+++ b/gui/mplayer/gtk/opts.c	Thu Jun 17 09:46:44 2010 +0000
@@ -31,6 +31,7 @@
 #include "libao2/audio_out.h"
 #include "libvo/sub.h"
 #include "libvo/video_out.h"
+#include "libvo/x11_common.h"
 #include "stream/stream.h"
 #include "libmpdemux/demuxer.h"
 #include "libmpdemux/stheader.h"
@@ -193,8 +194,6 @@
 static void prEntry( GtkContainer * container,gpointer user_data );
 #endif
 
-extern int    stop_xscreensaver;
-
 void ShowPreferences( void )
 {
  if ( Preferences ) gtkActive( Preferences );