Implicit declarations is better for future modifications.
This commit is contained in:
parent
9834dc1c2a
commit
c672a22287
|
@ -96,7 +96,7 @@ namespace LAview.Desktop {
|
||||||
filter.add_pattern ("*.lyx");
|
filter.add_pattern ("*.lyx");
|
||||||
|
|
||||||
if (chooser.run () == ResponseType.ACCEPT) {
|
if (chooser.run () == ResponseType.ACCEPT) {
|
||||||
SList<string> paths = chooser.get_filenames ();
|
var paths = chooser.get_filenames ();
|
||||||
|
|
||||||
foreach (unowned string path in paths)
|
foreach (unowned string path in paths)
|
||||||
AppCore.core.add_template (path);
|
AppCore.core.add_template (path);
|
||||||
|
|
Loading…
Reference in New Issue