From e69a8892b6521ea5bd4f402eef98f5cfe8144e77 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 14 Jul 2009 13:57:51 -0400 Subject: Fix some compiler warnings. --- modules/addressbook/e-book-shell-view-actions.c | 8 ++++---- 1 file 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); } -- cgit v1.2.3