clear the gtk+ gui before calling tr_close()
This commit is contained in:
parent
f9c992dc33
commit
96629d16db
|
@ -442,8 +442,8 @@ wannaquit( void * vdata )
|
||||||
cbdata->timer = 0;
|
cbdata->timer = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* freeze the gui */
|
/* clear the UI */
|
||||||
if( cbdata->wind )
|
gtk_list_store_clear( GTK_LIST_STORE( tr_core_model( cbdata->core ) ) );
|
||||||
gtk_widget_set_sensitive( GTK_WIDGET( cbdata->wind ), FALSE );
|
gtk_widget_set_sensitive( GTK_WIDGET( cbdata->wind ), FALSE );
|
||||||
|
|
||||||
/* shut down libT */
|
/* shut down libT */
|
||||||
|
|
Loading…
Reference in New Issue