diff --git a/data/hu.kramo.Cartridges.gschema.xml.in b/data/hu.kramo.Cartridges.gschema.xml.in
index 9da3915..40d5944 100644
--- a/data/hu.kramo.Cartridges.gschema.xml.in
+++ b/data/hu.kramo.Cartridges.gschema.xml.in
@@ -116,7 +116,7 @@
false
-
+
0
diff --git a/src/window.py b/src/window.py
index 785fe30..52a27ea 100644
--- a/src/window.py
+++ b/src/window.py
@@ -115,7 +115,7 @@ class CartridgesWindow(Adw.ApplicationWindow):
style_manager.connect("notify::high-contrast", self.set_details_view_opacity)
# Allow for a custom number of rows for the library
- if shared.schema.get_int("library-rows"):
+ if shared.schema.get_uint("library-rows"):
shared.schema.bind(
"library-rows",
self.library,