Blob Blame History Raw
diff --git a/src/direct/DirectPhotoPage.vala b/src/direct/DirectPhotoPage.vala
index f44be66..509ec4b 100644
--- a/src/direct/DirectPhotoPage.vala
+++ b/src/direct/DirectPhotoPage.vala
@@ -435,7 +435,7 @@ public class DirectPhotoPage : EditingHostPage {
      * Returns true if the code parameter matches the keycode of the keyval parameter for
      * any keyboard group or level (in order to allow for non-QWERTY keyboards)
      */
-    protected bool match_keycode (int keyval, uint code) {
+    protected bool match_keycode (uint keyval, uint code) {
         Gdk.KeymapKey [] keys;
         Gdk.Keymap keymap = Gdk.Keymap.get_default ();
         if (keymap.get_entries_for_keyval (keyval, out keys)) {