aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/e-delegate-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/dialogs/e-delegate-dialog.c')
-rw-r--r--calendar/gui/dialogs/e-delegate-dialog.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/calendar/gui/dialogs/e-delegate-dialog.c b/calendar/gui/dialogs/e-delegate-dialog.c
index 551229cc6d..b45f587d57 100644
--- a/calendar/gui/dialogs/e-delegate-dialog.c
+++ b/calendar/gui/dialogs/e-delegate-dialog.c
@@ -189,13 +189,9 @@ static void
addressbook_clicked_cb (GtkWidget *widget, gpointer data)
{
EDelegateDialog *edd = data;
- EDelegateDialogPrivate *priv;
- ENameSelectorDialog *name_selector_dialog;
- priv = edd->priv;
-
- name_selector_dialog = e_name_selector_peek_dialog (priv->name_selector);
- gtk_widget_show (GTK_WIDGET (name_selector_dialog));
+ e_name_selector_show_dialog (edd->priv->name_selector,
+ e_delegate_dialog_get_toplevel (edd));
}
static void