GNOME Bugzilla – Bug 700842
screencast: Fix return value in case of invalid file template
Last modified: 2013-05-22 15:23:27 UTC
See patch. Alternatively we could either change the out signature to (bms) (but maybe types seem fairly uncommon in general, and it's an API change) or change shell_recorder_record() to return an empty string rather than %NULL in the error case (not opposed to that, but it's a bit un-C-ish) ...
Created attachment 245047 [details] [review] screencast: Fix return value in case of invalid file template If we are passed an invalid file template, ShellRecorder.record() will return a %NULL filename; as the Screencast DBus interface expects a string return value, we cannot return the value unmodified in that case.
Review of attachment 245047 [details] [review]: OK.
Attachment 245047 [details] pushed as 374aee7 - screencast: Fix return value in case of invalid file template