Mercurial > mplayer.hg
view gui/mplayer/gtk/mb.h @ 24992:5701e23ebcb4
Better handling of win32 GUI thread:
1. Use _beginthreadex to create the GUI thread to avoid possible memory leak
when linked to MS CRT.
2. Terminate the GUI thread in an cleaner way using PostThreadMessage()
rather than the unrecommended TerminateThread().
author | zuxy |
---|---|
date | Sun, 11 Nov 2007 08:14:57 +0000 |
parents | 1cb14b091f46 |
children | 3baf6a2283da |
line wrap: on
line source
#ifndef GUI_MB_H #define GUI_MB_H #include <gtk/gtk.h> extern GtkWidget * MessageBox; extern GtkWidget * create_MessageBox( int type ); extern void ShowMessageBox( const char * msg ); #endif