diff --git a/src/EventEdit.py b/src/EventEdit.py
index f24a6d195..b20b6f1d2 100644
--- a/src/EventEdit.py
+++ b/src/EventEdit.py
@@ -229,7 +229,7 @@ class EventEditor:
self.update_event(ename,self.date,eplace_obj,edesc,enote,epriv,ecause)
self.parent.redraw_event_list()
self.callback(self.event)
- Utils.destroy_passed_object(obj)
+ Utils.destroy_passed_object(self.window)
def update_event(self,name,date,place,desc,note,priv,cause):
if self.event.getPlace() != place:
diff --git a/src/dialog.glade b/src/dialog.glade
index e19976f0f..7ef87e771 100644
--- a/src/dialog.glade
+++ b/src/dialog.glade
@@ -40,7 +40,6 @@
True
GTK_RELIEF_NORMAL
-6
-
@@ -54,7 +53,6 @@
True
GTK_RELIEF_NORMAL
-5
-