aboutsummaryrefslogtreecommitdiffstats
path: root/modules/addressbook/e-book-shell-view-actions.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/addressbook/e-book-shell-view-actions.c')
-rw-r--r--modules/addressbook/e-book-shell-view-actions.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/addressbook/e-book-shell-view-actions.c b/modules/addressbook/e-book-shell-view-actions.c
index 9886e59dcd..4515207ed4 100644
--- a/modules/addressbook/e-book-shell-view-actions.c
+++ b/modules/addressbook/e-book-shell-view-actions.c
@@ -339,7 +339,7 @@ action_contact_new_cb (GtkAction *action,
EAddressbookView *view;
EAddressbookModel *model;
EContact *contact;
- GtkWidget *editor;
+ EABEditor *editor;
EBook *book;
shell_view = E_SHELL_VIEW (book_shell_view);
@@ -356,7 +356,7 @@ action_contact_new_cb (GtkAction *action,
contact = e_contact_new ();
editor = e_contact_editor_new (shell, book, contact, TRUE, TRUE);
- eab_editor_show (EAB_EDITOR (editor));
+ eab_editor_show (editor);
g_object_unref (contact);
}
@@ -371,7 +371,7 @@ action_contact_new_list_cb (GtkAction *action,
EAddressbookView *view;
EAddressbookModel *model;
EContact *contact;
- GtkWidget *editor;
+ EABEditor *editor;
EBook *book;
shell_view = E_SHELL_VIEW (book_shell_view);
@@ -388,7 +388,7 @@ action_contact_new_list_cb (GtkAction *action,
contact = e_contact_new ();
editor = e_contact_list_editor_new (shell, book, contact, TRUE, TRUE);
- eab_editor_show (EAB_EDITOR (editor));
+ eab_editor_show (editor);
g_object_unref (contact);
}