summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2010-12-15 19:06:42 +0000
committerPhilip Withnall <philip@tecnocode.co.uk>2010-12-15 19:06:42 +0000
commit94f7eca4af87a06c4c557582364f0f240b94c497 (patch)
tree52e5da77bed54935559a8a356a8eff07bbecc197
parent1b9e1114614b8629ef1d4a2e8baae6675f63ba32 (diff)
Fix the GVariant code in the Jamendo plugin's configuration dialogue
The dialogue is still broken due to bgo#637175, however.
-rw-r--r--src/plugins/jamendo/jamendo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/jamendo/jamendo.py b/src/plugins/jamendo/jamendo.py
index 0baa4497..e45eba22 100644
--- a/src/plugins/jamendo/jamendo.py
+++ b/src/plugins/jamendo/jamendo.py
@@ -141,7 +141,7 @@ class JamendoPlugin(gobject.GObject, Peas.Activatable, PeasGtk.Configurable):
config_widget = builder.get_object ('config_widget')
config_widget.connect ('destroy', self.on_config_widget_destroy)
format = self.settings.get_enum ('format')
- num_per_page = self.settings.get_int ('num-per-page')
+ num_per_page = self.settings.get_value ('num-per-page').get_uint32 ()
combo = builder.get_object('preferred_format_combo')
combo.set_active(format)