Mercurial > mplayer.hg
diff gui/cfg.c @ 33265:62c0471bcf8c
Free config.
It isn't freed so far.
author | ib |
---|---|
date | Tue, 03 May 2011 13:19:39 +0000 |
parents | 284fc94290b9 |
children | be7d8c249dfd |
line wrap: on
line diff
--- a/gui/cfg.c Tue May 03 12:21:11 2011 +0000 +++ b/gui/cfg.c Tue May 03 13:19:39 2011 +0000 @@ -28,7 +28,6 @@ #include "libmpcodecs/vd.h" #include "libvo/video_out.h" #include "libvo/x11_common.h" -#include "m_config.h" #include "m_option.h" #include "mixer.h" #include "mp_msg.h" @@ -39,6 +38,8 @@ #include "sub/font_load.h" #include "sub/sub.h" +m_config_t *gui_conf; + int gtkCacheOn; int gtkCacheSize = 2048; @@ -96,8 +97,6 @@ int gui_sub_pos_x = -3; int gui_sub_pos_y = -3; -static m_config_t *gui_conf; - static const m_option_t gui_opts[] = { { "cache", >kCacheOn, CONF_TYPE_FLAG, 0, 0, 1, NULL }, { "cache_size", >kCacheSize, CONF_TYPE_INT, CONF_RANGE, 32, 1048576, NULL },