Commit bf53bc36 authored by Michael Terry's avatar Michael Terry

silence warning about null return

parent 9352adee
......@@ -33,7 +33,7 @@ public class AssistantBackup : AssistantOperation
resumed.connect(do_resume);
}
protected override DejaDup.Operation create_op()
protected override DejaDup.Operation? create_op()
{
realize();
var xid = Gdk.X11Window.get_xid(this.get_window());
......
......@@ -120,7 +120,7 @@ public abstract class AssistantOperation : Assistant
* that is then used to perform various defined tasks on backend. It is
* also later connected to various signals.
*/
protected abstract DejaDup.Operation create_op();
protected abstract DejaDup.Operation? create_op();
protected abstract string get_progress_file_prefix();
protected Gdk.Pixbuf? make_op_icon()
......
......@@ -280,7 +280,7 @@ public class AssistantRestore : AssistantOperation
restore_dest_page = page;
}
protected override DejaDup.Operation create_op()
protected override DejaDup.Operation? create_op()
{
string date = null;
if (got_dates) {
......
......@@ -459,7 +459,7 @@ public class AssistantRestoreMissing : AssistantRestore {
}
}
protected override DejaDup.Operation create_op()
protected override DejaDup.Operation? create_op()
{
/*
* Creates operation that is then called by do_apply.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment