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



commit 1d97adb74781798c3835743bc5dde0b58d54d013
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Sat Mar 14 18:29:44 2015 +0100

    codecomment: use Property instead of deprecated property

 plugins/codecomment/codecomment.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/codecomment/codecomment.py b/plugins/codecomment/codecomment.py
index aa589a2..70ca187 100644
--- a/plugins/codecomment/codecomment.py
+++ b/plugins/codecomment/codecomment.py
@@ -39,7 +39,7 @@ block_comment_languages = [
 
 class CodeCommentAppActivatable(GObject.Object, Gedit.AppActivatable):
 
-    app = GObject.property(type=Gedit.App)
+    app = GObject.Property(type=Gedit.App)
 
     def __init__(self):
         GObject.Object.__init__(self)
@@ -88,7 +88,7 @@ class CodeCommentWindowActivatable(GObject.Object, Gedit.WindowActivatable):
 
 class CodeCommentViewActivatable(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]