[Geany-devel] Real-time tag parsing (again) (was Geany FTW - better autocompletion)

Colomban Wendling lists.ban at xxxxx
Sun Mar 6 18:53:45 UTC 2011


Le 06/03/2011 11:51, Matthew Brush a écrit :
> On 03/05/11 15:57, Colomban Wendling wrote:
>> I'm happy to announce that I've now committed these patches to trunk,
>> with some little improvements -- an option in the Preference dialog to
>> configure it, MIO integrated, better code in some places, etc.
> Thank you for working on this, it's *extremely* useful.
> 
>> Don't hesitate to report any bug you find, as usual!
> Only thing to note is this warning during compilation:
> 
> sidebar.c: In function 'on_taglist_tree_selection_changed':
> sidebar.c:889: warning: passing argument 1 of 'tm_tag_unref' discards
> qualifiers from pointer target type
> ./../tagmanager/include/tm_tag.h:330: note: expected 'struct TMTag *'
> but argument is of type 'const struct TMTag *'
> 
> Looking at the source, tm_tag_unref() is called on a 'const TMTag *tag',
> I guess it depends what happens in gtk_tree_model_get(), you would know
> better than me :)
Not sure how I missed this one, thanks for reporting :)
However it wasn't a big problem, I just forgot to remove the const part
in one of the patches.

Cheers,
Colomban



More information about the Devel mailing list