Re: [PATCH] gtktextchild.c: CHECK_IN_BUFFER_RETURN
- From: Havoc Pennington <hp redhat com>
- To: Daniel Elstner <daniel elstner gmx net>
- Cc: gtk-devel-list <gtk-devel-list gnome org>
- Subject: Re: [PATCH] gtktextchild.c: CHECK_IN_BUFFER_RETURN
- Date: 09 Feb 2002 13:45:18 -0500
Daniel Elstner <daniel elstner gmx net> writes:
>
> huge one-line macros are ugly, aren't they? ;)
> This one returns always:
>
> #define CHECK_IN_BUFFER_RETURN(anchor, val) do { if ((anchor)->segment
> == NULL) g_warning ("%s: GtkTextChildAnchor hasn't
> been in a buffer yet", G_GNUC_FUNCTION); return (val); } while (0)
>
> Patch attached, OK to commit?
>
Yes please, sorry about that. (Maybe you should reformat it to be on
multiple lines and indented properly, as I should have done in the
first place...)
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]