Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/jarabe/journal/modalalert.py
diff options
context:
space:
mode:
authorSimon Schampijer <simon@laptop.org>2012-09-03 16:25:26 (GMT)
committer Simon Schampijer <simon@laptop.org>2012-09-07 09:14:25 (GMT)
commit58c184d2d1ea26ecf6cf80dd4fc03a8e0a345222 (patch)
treec1b18cb208645f097a6b7b8a75be9b49ac173896 /src/jarabe/journal/modalalert.py
parent0f7952c4e587c2ff4dfdd2c2e06cfce6202ce83f (diff)
All: Chain up to constructor of derived class
The pygi-convert.sh script does replace the chaining to the constructor of the derived class and chains up to the GObject constructor, those introduced missing imports and a few more issues with arguments passing. In general it is clearer to chain up to the constructor of the derived class so while fixing the issues introduced by the script we did switch to that behavior in all of the shell. Signed-off-by: Simon Schampijer <simon@laptop.org> Acked-by: Manuel QuiƱones <manuq@laptop.org>
Diffstat (limited to 'src/jarabe/journal/modalalert.py')
-rw-r--r--src/jarabe/journal/modalalert.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jarabe/journal/modalalert.py b/src/jarabe/journal/modalalert.py
index 541d9c0..36f076e 100644
--- a/src/jarabe/journal/modalalert.py
+++ b/src/jarabe/journal/modalalert.py
@@ -29,7 +29,7 @@ class ModalAlert(Gtk.Window):
__gtype_name__ = 'SugarModalAlert'
def __init__(self):
- GObject.GObject.__init__(self)
+ Gtk.Window.__init__(self)
self.set_border_width(style.LINE_WIDTH)
offset = style.GRID_CELL_SIZE