Re: gnome bug 135093 and backend
Thierry Moisan <[email protected]> Wed, 01 Jun 2005 17:25:58 -0400
| Newsgroups | gmane.editors.conglomerate.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, I know it has been about a month since I wrote anything on this bug
but I was pretty busy. Here is the code I did so far:
gboolean
words (CongNodePtr node, gpointer data) {
int* numb_words = (int*)data;
*numb_words = (*numb_words)+1;
return FALSE;
}
static void
refresh_statistics (CongFilePropertiesDialogDetails *dialog_details,
CongDocument *doc)
{
/*number of words */
{
int numb_words=0;
cong_document_for_each_node (CongDocument *doc,
CongDocumentRecursionCallback &words, gpointer numb_words);
g_strdup_printf ("%i", *numb_words);
}
}
Please correct me if there's anything wrong. I've read part of the C
tutorial tha Dave Malcom gave me (http://www2.egr.uh.edu/sysdoc/C/Tutorial/)
Thierry Moisan