moo_app_discard_output()

master
Yevgen Muntyan 2006-05-14 21:21:42 -05:00
parent a3553250ff
commit 3bb29ca3d5
2 changed files with 9 additions and 0 deletions

View File

@ -654,6 +654,14 @@ moo_app_write_output (const char *data,
}
void
moo_app_discard_output (void)
{
g_return_if_fail (moo_app_output != NULL);
moo_app_output_flush (moo_app_output);
}
const char*
moo_app_get_rc_file_name (MooApp *app)
{

View File

@ -95,6 +95,7 @@ const char *moo_app_get_output_pipe_name (MooApp *app);
void moo_app_write_output (const char *data,
gssize len);
void moo_app_discard_output (void);
MooEditor *moo_app_get_editor (MooApp *app);