summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2011-08-04 10:19:20 -0400
committerDan Winship <danw@gnome.org>2011-08-04 10:26:25 -0400
commit0f31da32fd2556bf73cdc2d1408e6fc7fdcda29f (patch)
tree49235b25fa4b727857a1db7d4fb3fc066a97c5d9
parent58963a0ef5d70bd298c60aa09a13a1ae75ef500c (diff)
downloadcaribou-0f31da32fd2556bf73cdc2d1408e6fc7fdcda29f.tar.gz
libcaribou: fix compile
https://bugzilla.gnome.org/show_bug.cgi?id=655976
-rw-r--r--libcaribou/xml-deserializer.vala4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcaribou/xml-deserializer.vala b/libcaribou/xml-deserializer.vala
index 853e255..317bc5a 100644
--- a/libcaribou/xml-deserializer.vala
+++ b/libcaribou/xml-deserializer.vala
@@ -49,6 +49,10 @@ namespace Caribou {
if (fn != null)
return fn;
}
+
+ // Should not be reached, but needed to make valac happy
+ throw new IOError.NOT_FOUND (
+ "Could not find layout file for %s %s", group, variant);
}
public static GroupModel? load_group (string keyboard_type,