I can't compile Scratch. Here's the errors:
/home/andrea/bzr/scratch/scratchcore/TemplateManager.vala:76.26-76.110: warning: unhandled error `GLib.Error' var enumerator = origin.enumerate_children ("standard::type,standard::name,standard::content-type", 0); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /home/andrea/bzr/scratch/scratchcore/TemplateManager.vala:78.25-78.47: warning: unhandled error `GLib.Error' var file_info = enumerator.next_file (); ^^^^^^^^^^^^^^^^^^^^^^^ /home/andrea/bzr/scratch/scratchcore/TemplateManager.vala:86.25-86.47: warning: unhandled error `GLib.Error' file_info = enumerator.next_file (); ^^^^^^^^^^^^^^^^^^^^^^^ /home/andrea/bzr/scratch/scratchcore/TemplateManager.vala:44.9-44.37: warning: unhandled error `GLib.Error' destination.make_directory (); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /home/andrea/bzr/scratch/scratchcore/TemplateManager.vala:52.17-52.112: warning: unhandled error `GLib.FileError' FileUtils.get_contents (Path.build_filename (origin.get_path (), file.get_name ()), out content); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /home/andrea/bzr/scratch/scratchcore/TemplateManager.vala:58.17-58.113: warning: unhandled error `GLib.FileError' FileUtils.set_contents (Path.build_filename (destination.get_path (), file.get_name ()), content); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /home/andrea/bzr/scratch/scratchcore/TemplateManager.vala:63.17-63.35: warning: unhandled error `GLib.Error' orig.copy (dest, 0); ^^^^^^^^^^^^^^^^^^^ /home/andrea/bzr/scratch/scratchcore/PluginManager.vala:226.42-226.59: error: Argument 2: Cannot convert from `Scratch.Plugins.Manager.on_extension_added' to `Peas.ExtensionSetForeachFunc' peas_extension_set_foreach(exts, on_extension_added, null); ^^^^^^^^^^^^^^^^^^ /home/andrea/bzr/scratch/scratchcore/PluginManager.vala:247.51-247.68: error: Argument 2: Cannot convert from `Scratch.Plugins.Manager.on_extension_added' to `Peas.ExtensionSetForeachFunc' peas_extension_set_foreach(exts_core, on_extension_added, null); ^^^^^^^^^^^^^^^^^^ /home/andrea/bzr/scratch/scratchcore/SearchManager.vala:470.9-470.72: warning: unhandled error `GLib.Error' css.load_from_data("* { padding-left:0; padding-right:0; }", -1); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /home/andrea/bzr/scratch/scratchcore/SearchManager.vala:480.5-480.25: warning: Granite.Widgets.ToolArrow.set_state hides inherited method `Gtk.Widget.set_state'. Use the `new' keyword if hiding was intentional public void set_state(bool v) ^^^^^^^^^^^^^^^^^^^^^ Compilation failed: 2 error(s), 9 warning(s) make[2]: *** [scratchcore/main.c] Error 1 make[1]: *** [scratchcore/CMakeFiles/scratchcore.dir/all] Error 2 make: *** [all] Error 2
I can't compile Scratch. Here's the errors:
/home/andrea/ bzr/scratch/ scratchcore/ TemplateManager .vala:76. 26-76.110: warning: unhandled error `GLib.Error' enumerate_ children ("standard: :type,standard: :name,standard: :content- type", 0);
^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^ bzr/scratch/ scratchcore/ TemplateManager .vala:78. 25-78.47: warning: unhandled error `GLib.Error' next_file ();
^^^^ ^^^^^^^ ^^^^^^^ ^^^^^ bzr/scratch/ scratchcore/ TemplateManager .vala:86. 25-86.47: warning: unhandled error `GLib.Error'
file_ info = enumerator. next_file ();
^^^^ ^^^^^^^ ^^^^^^^ ^^^^^ bzr/scratch/ scratchcore/ TemplateManager .vala:44. 9-44.37: warning: unhandled error `GLib.Error'
destination. make_directory ();
^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^ bzr/scratch/ scratchcore/ TemplateManager .vala:52. 17-52.112: warning: unhandled error `GLib.FileError'
FileUtils. get_contents (Path.build_ filename (origin.get_path (), file.get_name ()), out content);
^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ bzr/scratch/ scratchcore/ TemplateManager .vala:58. 17-58.113: warning: unhandled error `GLib.FileError'
FileUtils. set_contents (Path.build_ filename (destination. get_path (), file.get_name ()), content);
^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^ bzr/scratch/ scratchcore/ TemplateManager .vala:63. 17-63.35: warning: unhandled error `GLib.Error'
orig. copy (dest, 0);
^^^^^ ^^^^^^^ ^^^^^^^ bzr/scratch/ scratchcore/ PluginManager. vala:226. 42-226. 59: error: Argument 2: Cannot convert from `Scratch. Plugins. Manager. on_extension_ added' to `Peas.Extension SetForeachFunc'
peas_extension _set_foreach( exts, on_extension_added, null);
^ ^^^^^^^ ^^^^^^^ ^^^ bzr/scratch/ scratchcore/ PluginManager. vala:247. 51-247. 68: error: Argument 2: Cannot convert from `Scratch. Plugins. Manager. on_extension_ added' to `Peas.Extension SetForeachFunc'
peas_ extension_ set_foreach( exts_core, on_extension_added, null);
^^^^^^ ^^^^^^^ ^^^^^ bzr/scratch/ scratchcore/ SearchManager. vala:470. 9-470.72: warning: unhandled error `GLib.Error'
css.load_ from_data( "* { padding-left:0; padding-right:0; }", -1);
^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^ bzr/scratch/ scratchcore/ SearchManager. vala:480. 5-480.25: warning: Granite. Widgets. ToolArrow. set_state hides inherited method `Gtk.Widget. set_state' . Use the `new' keyword if hiding was intentional ^^^^^^^ ^^^^^^^ ^^^^ main.c] Error 1 CMakeFiles/ scratchcore. dir/all] Error 2
var enumerator = origin.
/home/andrea/
var file_info = enumerator.
/home/andrea/
/home/andrea/
/home/andrea/
/home/andrea/
/home/andrea/
/home/andrea/
/home/andrea/
/home/andrea/
/home/andrea/
public void set_state(bool v)
^^^
Compilation failed: 2 error(s), 9 warning(s)
make[2]: *** [scratchcore/
make[1]: *** [scratchcore/
make: *** [all] Error 2