X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fgui%2Fbeos%2FInterface.cpp;h=6da022a32bf7420210df5452cc0795be77b7a947;hb=6ee1e193fd896ab9a4729fde14f009d9ce629815;hp=ac354ccf54640780d84b612bbf4132b0a48ecbe2;hpb=fe087a38282e93addb25fa9598393e40ea233b09;p=vlc diff --git a/modules/gui/beos/Interface.cpp b/modules/gui/beos/Interface.cpp index ac354ccf54..6da022a32b 100644 --- a/modules/gui/beos/Interface.cpp +++ b/modules/gui/beos/Interface.cpp @@ -23,22 +23,19 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ /***************************************************************************** * Preamble *****************************************************************************/ -#include -#include /* malloc(), free() */ #include #include #include -#include #include -#include -#include +#include +#include #include #include "InterfaceWindow.h" @@ -71,7 +68,7 @@ int E_(OpenIntf) ( vlc_object_t *p_this ) msg_Err( p_intf, "out of memory" ); return VLC_EGENERIC; } - + p_intf->pf_run = Run; /* Create the interface window */ @@ -119,7 +116,7 @@ void E_(CloseIntf) ( vlc_object_t *p_this ) *****************************************************************************/ static void Run( intf_thread_t *p_intf ) { - while( !p_intf->b_die ) + while( !intf_ShouldDie( p_intf ) ) { p_intf->p_sys->p_window->UpdateInterface(); msleep( INTF_IDLE_SLEEP );