Mercurial > mplayer.hg
comparison gui/interface.c @ 33309:733376438418
Declare parameter type for guiExit() more precisely.
This is possible now that guiExit() isn't longer called
by guiDone() with parameter DONE.
author | ib |
---|---|
date | Sat, 07 May 2011 15:58:06 +0000 |
parents | 0c2f2368a031 |
children | 3844d17b0a24 |
comparison
equal
deleted
inserted
replaced
33308:0c2f2368a031 | 33309:733376438418 |
---|---|
38 #include "libmpcodecs/vd.h" | 38 #include "libmpcodecs/vd.h" |
39 #include "libmpcodecs/vf.h" | 39 #include "libmpcodecs/vf.h" |
40 #include "libvo/video_out.h" | 40 #include "libvo/video_out.h" |
41 #include "libvo/x11_common.h" | 41 #include "libvo/x11_common.h" |
42 #include "mixer.h" | 42 #include "mixer.h" |
43 #include "mp_core.h" | |
44 #include "mp_msg.h" | 43 #include "mp_msg.h" |
45 #include "mpcommon.h" | 44 #include "mpcommon.h" |
46 #include "mplayer.h" | 45 #include "mplayer.h" |
47 #include "path.h" | 46 #include "path.h" |
48 #include "sub/font_load.h" | 47 #include "sub/font_load.h" |
412 m_config_free(gui_conf); | 411 m_config_free(gui_conf); |
413 gui_conf = NULL; | 412 gui_conf = NULL; |
414 } | 413 } |
415 } | 414 } |
416 | 415 |
417 void guiExit(int how) | 416 void guiExit(enum exit_reason how) |
418 { | 417 { |
419 exit_player_with_rc(how, how >= EXIT_ERROR); | 418 exit_player_with_rc(how, how >= EXIT_ERROR); |
420 } | 419 } |
421 | 420 |
422 void guiLoadFont(void) | 421 void guiLoadFont(void) |