aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-09-04 03:16:58 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-09-04 03:16:58 +0800
commit7140264bb8bc17127731ff10d4d11c1e96aa25f0 (patch)
tree45ccd8e57c2c24c2e32de31f33d16bf2d2c659c2 /addressbook
parent6590787f2dc06e082374b71911737b2b1aff2ba9 (diff)
downloadgsoc2013-evolution-7140264bb8bc17127731ff10d4d11c1e96aa25f0.tar.gz
gsoc2013-evolution-7140264bb8bc17127731ff10d4d11c1e96aa25f0.tar.zst
gsoc2013-evolution-7140264bb8bc17127731ff10d4d11c1e96aa25f0.zip
(delete_contact_cb): Fix typo
[`view>view' instead of `view->view']. Also, cast to GTK_WINDOW instead of GTK_WIDGET as it should be. svn path=/trunk/; revision=17951
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);
}
}