diff options
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index 3194eec943..ba7ff79ee8 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -1191,7 +1191,8 @@ expand_mail (EContactEditor *editor, gboolean expanded) table = GTK_TABLE (e_builder_get_widget (editor->builder, "email-table")); if (check != NULL && table != NULL) { g_object_ref (G_OBJECT (check)); - gtk_container_remove (GTK_CONTAINER (check->parent), check); + gtk_container_remove (GTK_CONTAINER (gtk_widget_get_parent (check)), + check); if (expanded) gtk_table_attach_defaults (table, check, 0, 4, 2, 3); else |