Re: GtkTextBuffer: how to insert new line?



Paolo Costabel:

You cannot use -1 for the length, at least according to the
documentation.

[...]

Plus, why are you adding a NULL terminator?

Thanks, that's it. I took the -1/NULL terminator thing from the function
above in the doc where that is possible (gtk_text_buffer_insert).

Felix



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]