Re: GtkSourceViewmm bug



On Tue, 2010-07-13 at 22:00 +0100, Robert Pearce wrote:
> Hi Adrian,
> 
> On Tue, 13 Jul 2010 14:02:15 -0400 you wrote:
> > 
> > I guess you're right, the documentation doesn't explicitly forbid passing in
> > both NULL (though it does forbid passing in both non-NULL),
> 
> On the contrary, Murray said he saw nothing to "forbid passing in both
> non-NULL" and neither do I. In fact the second example given in the
> documentation explicitly shows both non-NULL (unless
> g_content_type_guess sets result_uncertain).
> 
> Cheers,
> Rob

Yeah, passing non-empty strings to both parameters is all right -
filename takes precendence in being a base for guessing language in such
situation.

In the end I have strong feeling that this is not bug in
gtksourceviewmm, but in Adrian's code. For explanation, see the bug
624269.

Krzesimir.




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