GNOME Bugzilla – Bug 637246
[Patch] gjs fails to build with recent xulrunner2 (JS_GetFunctionName)
Last modified: 2010-12-15 22:20:28 UTC
Created attachment 176420 [details] [review] Adapt to JS_GetFunctionName removal JS_GetFunctionName has been removed in xulrunner2 in this commit: http://hg.mozilla.org/mozilla-central/changeset/e35b70ffed69 First try to adapt to that change
Review of attachment 176420 [details] [review]: ::: gjs/profiler.c @@ +196,3 @@ + return function; + + out: If it's an error path, call it "error". @@ +200,1 @@ return function; and just "return NULL", since you know at this point function is NULL anyways.
Created attachment 176485 [details] [review] Adapt to JS_GetFunctionName removal Oh, yeah, leftover of before I passed the ownership. Done
Great, thanks for the patch!