[pitivi] ui: don't use positional arguments in GObject constructors.



commit e2d4b35682d4b420af0fbf221a68105757eb8573
Author: Mathieu Duponchelle <mduponchelle1 gmail com>
Date:   Tue Feb 4 22:59:51 2014 +0100

    ui: don't use positional arguments in GObject constructors.

 pitivi/utils/ui.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/utils/ui.py b/pitivi/utils/ui.py
index 60ef9a0..392b9e5 100644
--- a/pitivi/utils/ui.py
+++ b/pitivi/utils/ui.py
@@ -99,7 +99,7 @@ LAYER_CONTROL_TARGET_ENTRY = Gtk.TargetEntry.new("pitivi/layer-control", 0, TYPE
 def _get_settings(schema):
     if schema not in Gio.Settings.list_schemas():
         return None
-    return Gio.Settings(schema)
+    return Gio.Settings(schema=schema)
 
 
 def _get_font(font_spec, default):


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