From e72e4467593c9aa1bb859c799f3bd735045b2fcb Mon Sep 17 00:00:00 2001 From: Gary Burton Date: Tue, 31 Jul 2012 21:55:20 +0000 Subject: [PATCH] GTK3 fix for gender dialog svn: r20165 --- src/gui/editors/editperson.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/editors/editperson.py b/src/gui/editors/editperson.py index 74a2a0f86..906b6b70c 100644 --- a/src/gui/editors/editperson.py +++ b/src/gui/editors/editperson.py @@ -1056,7 +1056,7 @@ class EditPerson(EditPrimary): class GenderDialog(Gtk.MessageDialog): def __init__(self, parent=None): - GObject.GObject.__init__(self, + Gtk.MessageDialog.__init__(self, parent, flags=Gtk.DialogFlags.MODAL, type=Gtk.MessageType.QUESTION,