[gedit-plugins] textsize: use Property instead of deprecated property
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-plugins] textsize: use Property instead of deprecated property
- Date: Sat, 14 Mar 2015 17:32:39 +0000 (UTC)
commit 5d551ae87e0001b1c2cac93f804270aaaf9772b9
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Sat Mar 14 18:32:19 2015 +0100
textsize: use Property instead of deprecated property
plugins/textsize/textsize/__init__.py | 4 ++--
plugins/textsize/textsize/viewactivatable.py | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/textsize/textsize/__init__.py b/plugins/textsize/textsize/__init__.py
index 0ec378d..cd81bb1 100644
--- a/plugins/textsize/textsize/__init__.py
+++ b/plugins/textsize/textsize/__init__.py
@@ -36,7 +36,7 @@ except:
class TextSizeAppActivatable(GObject.Object, Gedit.AppActivatable):
- app = GObject.property(type=Gedit.App)
+ app = GObject.Property(type=Gedit.App)
def __init__(self):
GObject.Object.__init__(self)
@@ -63,7 +63,7 @@ class TextSizeAppActivatable(GObject.Object, Gedit.AppActivatable):
class TextSizeWindowActivatable(GObject.Object, Gedit.WindowActivatable):
- window = GObject.property(type=Gedit.Window)
+ window = GObject.Property(type=Gedit.Window)
def __init__(self):
GObject.Object.__init__(self)
diff --git a/plugins/textsize/textsize/viewactivatable.py b/plugins/textsize/textsize/viewactivatable.py
index 73b9dad..5603840 100644
--- a/plugins/textsize/textsize/viewactivatable.py
+++ b/plugins/textsize/textsize/viewactivatable.py
@@ -24,7 +24,7 @@ from gi.repository import GObject, Gtk, Gdk, Pango, Gedit
class TextSizeViewActivatable(GObject.Object, Gedit.ViewActivatable, Signals):
- 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]