[evolution/kill-bonobo: 53/54] Fix some compiler warnings.



commit e69a8892b6521ea5bd4f402eef98f5cfe8144e77
Author: Matthew Barnes <mbarnes redhat com>
Date:   Tue Jul 14 13:57:51 2009 -0400

    Fix some compiler warnings.

 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 9886e59..4515207 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);
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]