GNOME Bugzilla – Bug 603197
[patch] RemoveDeprecatedSymbols/Glib
Last modified: 2009-12-02 20:25:24 UTC
Created attachment 148631 [details] [review] patch to fix issue This patch replaces the deprecated g_mapped_file_free with g_mapped_file_unref
Hello Michael, thank you for the patch. Did you check the glib required version for this function? Does gtksourceview depends on it? If not, you can bump the gtksourceview glib required version or surround the code with: #if GLIB_CHECK_VERSION(2,22,0) #else #endif
It currently requires 2.14. Would it be better to bump the requirement or use the ifdef?
let's use an ifdef for now, it is silly to bump deps so much just because of this function.
Created attachment 148660 [details] [review] guarded patch to replace g_mapped_file_free with g_mapped_file_unref Alright! Here is the patch guarded with the appropriate glib version ifdef.
Patch applied, thanks a lot for it.