aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/gui/component/addressbook.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index c508173bda..99ead9e409 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,9 @@
+2002-09-03 Ettore Perazzoli <ettore@ximian.com>
+
+ * gui/component/addressbook.c (delete_contact_cb): Fix typo
+ [`view>view' instead of `view->view']. Also, cast to
+ GTK_WINDOW instead of GTK_WIDGET as it should be.
+
2002-08-30 Dan Winship <danw@ximian.com>
* backend/idl/addressbook.idl (CallStatus): add QueryRefused, for
diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c
index 74e21bbf47..6169dd5753 100644
--- a/addressbook/gui/component/addressbook.c
+++ b/addressbook/gui/component/addressbook.c
@@ -102,7 +102,7 @@ delete_contact_cb (BonoboUIComponent *uih, void *user_data, const char *path)
{
AddressbookView *view = (AddressbookView *) user_data;
if (view->view) {
- if (e_contact_editor_confirm_delete (GTK_WIDGET (view>view)))
+ if (e_contact_editor_confirm_delete (GTK_WINDOW (view->view)))
e_addressbook_view_delete_selection(view->view);
}
}