GNOME Bugzilla – Bug 610635
Some GtkSourceCompletion{Proposal,Provider} functions had changed.
Last modified: 2010-02-21 23:33:07 UTC
With bug 610342 fixed an API change was introduced: gtk_source_completion_proposal_get_label(), gtk_source_completion_proposal_get_markup(), gtk_source_completion_proposal_get_info(), gtk_source_completion_proposal_get_text() and gtk_source_provider_get_name() now return a new string, which needs to be freed with g_free(). Probably .defs file needs to be regenerated and/or mentioned functions overriden.
should be a matter of changing (return-type "const-gchar*") into (return-type "gchar*") I am no pygtk expert, but I think regenerating the .defs is more trouble than editing by hand (I think it is generated the first time he lib was wrapped, but modified by hand later)
Created attachment 154344 [details] [review] Patch changing some const-gchar* into gchar* Hand editing sounds resonable, so that is how I did it.
looks good to me, though I have not tested it... let's push it, we'll find out soon enough if it is ok :)
Pushed to master.