Hi Everybody, I've just merged the textedit widget that Chuck and Philippe have been working on into the main CVS branch. It's now available as a compile time option.
Thanks to them for the great progress on the textedit widget so far :) (me still poking away on textbox... ;) During the merge I fixed some problems and found some that I haven't fixed yet: - There are several functions in textedit_logical.c that use g_malloc and errorcheck but do not return g_error. pgserver's error checking works like exceptions in C++, but there is the limitation that every function using it _must_ return g_error. I haven't fixed these yet, just marked the ones I found with FIXME comments. - There are a lot of functions that call other pgserver functions and ignore the returned error code! This has not been fixed yet. All functions that can cause an error _must_ return the g_error type and use the "errorcheck" macro to propagate errors from functions they call. - Fixed a few compiler warnings - I found some instances where handles are used improperly in textedit_get() that are probably responsible for some segfaults. It's important to remember that handles free the object they're associated with when they are deleted. The code in the textedit widget would both cause a memory leak and result in multiple free()'s for the same data. Fixed these. -- Only you can prevent creeping featurism! ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Pgui-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/pgui-devel
