[Gtk-sharp-list] Various enhancements to GnomePrint patch

Mike Kestner mkestner@speakeasy.net
Tue, 07 Oct 2003 10:08:42 -0500


On Tue, 2003-10-07 at 06:43, Martin Willemoes Hansen wrote:

> Oh yes, im no C expert, but I would like to be. Here is the C
> function.
> 
> gnome-print-config.c
> guchar *
> gnome_print_config_get (GnomePrintConfig *config, const guchar *key)

They aren't marking it const, so we shouldn't unless we start seeing
crashes from freeing the string it returns.

> Finally I have a new patch incorporating the changes mentioned above.

Go ahead and commit it after changing that return-val to gchar* without
the const-.  Also, I know you marked a bunch of other strings a week or
so ago, can you make sure those aren't marked const if the native api
doesn't identify them as const?

Thanks,

-- 
Mike Kestner <mkestner@speakeasy.net>