Re: [PATCH] gtktextchild.c: CHECK_IN_BUFFER_RETURN



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]