diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-07-15 01:57:51 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-07-15 01:57:51 +0800 |
commit | e69a8892b6521ea5bd4f402eef98f5cfe8144e77 (patch) | |
tree | ff5c92937bde067428e68046480a4b662404f72b /modules/addressbook | |
parent | 6d9e836a6fa0bb501f9fad4306373092bd758d29 (diff) | |
download | gsoc2013-evolution-e69a8892b6521ea5bd4f402eef98f5cfe8144e77.tar.gz gsoc2013-evolution-e69a8892b6521ea5bd4f402eef98f5cfe8144e77.tar.zst gsoc2013-evolution-e69a8892b6521ea5bd4f402eef98f5cfe8144e77.zip |
Fix some compiler warnings.
Diffstat (limited to 'modules/addressbook')
-rw-r--r-- | modules/addressbook/e-book-shell-view-actions.c | 8 |
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); } |