Removed calls to FrameInit/FrameExit ( was used for window components ).
svn path=/trunk/netsurf/; revision=13136
This commit is contained in:
parent
a98fb7c4dd
commit
91bdfbd172
|
@ -70,12 +70,6 @@ extern short last_drag_y;
|
|||
static void __CDECL browser_evnt_wdestroy( WINDOW * c, short buff[8], void * data);
|
||||
COMPONENT *comp_widget_create( APPvar *app, WINDOW *win, int size, int flex );
|
||||
|
||||
/*
|
||||
The component window interface needs frame API init,
|
||||
keep track of frame API init:
|
||||
*/
|
||||
static bool frameinit = true;
|
||||
|
||||
|
||||
/*
|
||||
Create an browser component.
|
||||
|
@ -94,11 +88,6 @@ struct s_browser * browser_create
|
|||
LGRECT cwork;
|
||||
COMPONENT * scrollv, * scrollh, * drawable;
|
||||
|
||||
if( frameinit ) {
|
||||
mt_FrameInit( &app );
|
||||
frameinit = false;
|
||||
}
|
||||
|
||||
CMP_BROWSER bnew = (CMP_BROWSER)malloc( sizeof(struct s_browser) );
|
||||
if( bnew )
|
||||
{
|
||||
|
|
|
@ -884,8 +884,6 @@ void gui_quit(void)
|
|||
}
|
||||
LOG(("Shutting down plotter"));
|
||||
atari_plotter_finalise();
|
||||
LOG(("FrameExit"));
|
||||
mt_FrameExit( &app );
|
||||
if( tmp_clipboard != NULL ){
|
||||
free( tmp_clipboard );
|
||||
tmp_clipboard = NULL;
|
||||
|
|
Loading…
Reference in New Issue