No, its not fixable AFAICT (well not easily).
All signal callbacks connected to the same signal get passed the same parameters, so in this case the same pointer is passed to both. If a pointer in the parameters is invalidated by the first callback, the second will get a bad pointer, thats how it works.
Unfortunately removing the silly empty untitled is an intended function of the file open code.
Personally I'd be happy to see that untitled removed from the code, but some people are offended by the empty space if no files are open, that arguments been had, so its staying.
If the parameter to the callback was not a pointer to the object but was a pointer to the pointer to the object then it can be nulled if the object is invalidated, but that would break all Geany and plugins code that used the notify signal.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.