Re: (patch) clist/ctree const-ness
- From: Jeff Garzik <jgarzik pobox com>
- To: gtk-devel-list redhat com
- Subject: Re: (patch) clist/ctree const-ness
- Date: Sat, 16 Jan 1999 16:58:15 -0500 (EST)
On Sat, 16 Jan 1999, Tim Janik wrote:
> On Sat, 16 Jan 1999, Jeff Garzik wrote:
>
> > Will commit the patch below unless there are objections; it makes the
> > clist_new_with_titles and related functions const-correct.
>
> please don't do this, const gchar** is very different from const gchar*
> as the compiler won't automatically convert the pointer. look into the
> archives (or the ChangeLog), we've had that about 2 or 3 times already.
I was afraid of that, which is why I posted the patch for comment :) Is
there any way to achieve the desired effect? I am trying to kill the
warnings that occur in app code related to *_new_with_titles().
Thanks,
Jeff
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]