[anjuta] language-support-vala: bgo #722197 - use an empty list in case of the Vala block context is null
- From: Abderrahim Kitouni <akitouni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] language-support-vala: bgo #722197 - use an empty list in case of the Vala block context is null
- Date: Wed, 23 Jul 2014 10:49:02 +0000 (UTC)
commit 2a58a8e5e834a3ded5edc56299a07c43e96b48c1
Author: Abderrahim Kitouni <a kitouni gmail com>
Date: Wed Jul 23 11:47:43 2014 +0100
language-support-vala: bgo #722197 - use an empty list in case of the Vala block context is null
Add a forgotten nullable
plugins/language-support-vala/plugin.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/language-support-vala/plugin.vala b/plugins/language-support-vala/plugin.vala
index 97aae74..2cf6829 100644
--- a/plugins/language-support-vala/plugin.vala
+++ b/plugins/language-support-vala/plugin.vala
@@ -526,7 +526,7 @@ public class ValaPlugin : Plugin, IAnjuta.Preferences {
}
internal List<Vala.Symbol> lookup_symbol (Vala.Expression? inner, string name, bool prefix_match,
- Vala.Block block) {
+ Vala.Block? block) {
var matching_symbols = new List<Vala.Symbol> ();
if (block == null) return matching_symbols;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]