[MPlayer-dev-eng] [PATCH] gtk1 compile fix for Gui
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Nov 26 21:31:56 CET 2006
Hello,
On Sun, Nov 26, 2006 at 03:20:50PM -0500, Erik Lunchpail wrote:
> Simple fix for gtk1 users. Looks like this was introduced with the ASS
> subtitle's support for the gui.
> --- old/Gui/mplayer/gtk/opts.c 2006-11-26 14:11:27.000000000 -0500
> +++ new/Gui/mplayer/gtk/opts.c 2006-11-26 15:14:57.000000000 -0500
> @@ -21,6 +21,10 @@
> #include "fs.h"
> #include "common.h"
>
> +#ifndef HAVE_GTK2_GUI
> +#define gtk_spin_button_get_value gtk_spin_button_get_value_as_float
> +#endif
> +
> typedef struct sh_video_t sh_video_t;
> typedef struct sh_audio_t sh_audio_t;
wouldn't
#define gtk_spin_button_get_value(sb) gtk_spin_button_get_value_as_int(sb)
better/more correct?
Greetings,
Reimar Döffinger
More information about the MPlayer-dev-eng
mailing list