[caribou] libcaribou: fix compile



commit 0f31da32fd2556bf73cdc2d1408e6fc7fdcda29f
Author: Dan Winship <danw gnome org>
Date:   Thu Aug 4 10:19:20 2011 -0400

    libcaribou: fix compile
    
    https://bugzilla.gnome.org/show_bug.cgi?id=655976

 libcaribou/xml-deserializer.vala |    4 ++++
 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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]