add destroy function

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@716 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 1998-03-25 05:41:24 +00:00
parent ed9dd8c0f5
commit 59fe979833
2 changed files with 40 additions and 1 deletions

View File

@ -7,7 +7,7 @@
* of values to be clicked through.
*
* HISTORY:
* Copyright (c) Linas Vepstas
* Copyright (c) 1998 Linas Vepstas
*/
/********************************************************************\
* This program is free software; you can redistribute it and/or *
@ -82,4 +82,12 @@ xaccInitRecnCell (BasicCell *cell)
cell->enter_cell = ToggleRecn;
}
/* ================================================ */
void
xaccDestroyRecnCell (BasicCell *cell)
{
xaccDestroyBasicCell (cell);
}
/* --------------- end of file ---------------------- */

View File

@ -1,3 +1,33 @@
/*
* FILE:
* recncell.h
*
* FUNCTION:
* The RecnCell object implements a cell handler
* that will cycle throguh a series of single-character
* values when clicked upon by the mouse.
*
* hack alert -- ther should be a way of specifying what these values
* are, instead of having them hard coded as they currently are.
*
* HISTORY:
* Copyright (c) 1998 Linas Vepstas
*/
/********************************************************************\
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License as *
* published by the Free Software Foundation; either version 2 of *
* the License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* 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., 675 Mass Ave, Cambridge, MA 02139, USA. *
\********************************************************************/
#ifndef __XACC_RECN_CELL_C__
#define __XACC_RECN_CELL_C__
@ -7,6 +37,7 @@
/* installs a callback to handle reconcile flag */
BasicCell * xaccMallocRecnCell (void);
void xaccInitRecnCell (BasicCell *);
void xaccDestroyRecnCell (BasicCell *);
#endif /* __XACC_RECN_CELL_C__ */