diff --git a/src/glade/catalog/grampswidgets.py b/src/glade/catalog/grampswidgets.py
index f27a47b17..7601dc605 100644
--- a/src/glade/catalog/grampswidgets.py
+++ b/src/glade/catalog/grampswidgets.py
@@ -3,11 +3,8 @@ import gtk
 class ValidatableMaskedEntry(gtk.Entry):
     __gtype_name__ = 'ValidatableMaskedEntry'
 
-    def __init__(self):
-        gtk.Entry.__init__(self)
-               
 class StyledTextEditor(gtk.TextView):
     __gtype_name__ = 'StyledTextEditor'
 
-    def __init__(self):
-        gtk.Entry.__init__(self)
+class UndoableBuffer(gtk.TextBuffer):
+    __gtype_name__ = 'UndoableBuffer'