[gedit-plugins] colorpicker: use Property instead of deprecated property



commit defe9c19823f6d954e6f1555359464ac7a50105f
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Sat Mar 14 18:37:30 2015 +0100

    colorpicker: use Property instead of deprecated property

 plugins/colorpicker/colorpicker.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/colorpicker/colorpicker.py b/plugins/colorpicker/colorpicker.py
index 8e7891a..c4ee8b7 100644
--- a/plugins/colorpicker/colorpicker.py
+++ b/plugins/colorpicker/colorpicker.py
@@ -119,7 +119,7 @@ class ColorHelper:
 
 class ColorPickerAppActivatable(GObject.Object, Gedit.AppActivatable):
 
-    app = GObject.property(type=Gedit.App)
+    app = GObject.Property(type=Gedit.App)
 
     def __init__(self):
         GObject.Object.__init__(self)
@@ -135,7 +135,7 @@ class ColorPickerAppActivatable(GObject.Object, Gedit.AppActivatable):
 
 class ColorPickerWindowActivatable(GObject.Object, Gedit.WindowActivatable):
 
-    window = GObject.property(type=Gedit.Window)
+    window = GObject.Property(type=Gedit.Window)
 
     def __init__(self):
         GObject.Object.__init__(self)
@@ -195,7 +195,7 @@ class ColorPickerWindowActivatable(GObject.Object, Gedit.WindowActivatable):
 
 class ColorPickerViewActivatable(GObject.Object, Gedit.ViewActivatable):
 
-    view = GObject.property(type=Gedit.View)
+    view = GObject.Property(type=Gedit.View)
 
     def __init__(self):
         GObject.Object.__init__(self)


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