Re: gtktextchild.c, another one
- From: Havoc Pennington <hp redhat com>
- To: Daniel Elstner <daniel elstner gmx net>
- Cc: gtk-devel-list <gtk-devel-list gnome org>
- Subject: Re: gtktextchild.c, another one
- Date: 09 Feb 2002 15:28:31 -0500
Daniel Elstner <daniel elstner gmx net> writes:
>
> g_return_if_fail (widget_segment->type = >k_text_child_type);
>
> Maybe I'm missing something, but the assignment isn't there by
> intention, is it? This occurs several times in the file.
>
> Since there's no way that the check ever fails, I guess it's just a
> typo. If so, I'd be happy to commit the attached patch.
>
Yes, please go ahead. (I guess gcc didn't warn about that because the
return_if_fail macro adds parens?)
Do you get the feeling you're the first person to try to use child
widgets in GtkTextView? ;-)
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]