diff options
author | Chris Toshok <toshok@src.gnome.org> | 2000-04-11 08:36:44 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2000-04-11 08:36:44 +0800 |
commit | ce05b0db24215b2a29c89d502570ab1dcd63d24a (patch) | |
tree | f4f44793f0991a68881f222d5187be13f65b8929 /addressbook/gui/minicard | |
parent | 5485ba72d9139b45de2b5dff8bc619c62250ecbf (diff) | |
download | gsoc2013-evolution-ce05b0db24215b2a29c89d502570ab1dcd63d24a.tar gsoc2013-evolution-ce05b0db24215b2a29c89d502570ab1dcd63d24a.tar.gz gsoc2013-evolution-ce05b0db24215b2a29c89d502570ab1dcd63d24a.tar.bz2 gsoc2013-evolution-ce05b0db24215b2a29c89d502570ab1dcd63d24a.tar.lz gsoc2013-evolution-ce05b0db24215b2a29c89d502570ab1dcd63d24a.tar.xz gsoc2013-evolution-ce05b0db24215b2a29c89d502570ab1dcd63d24a.tar.zst gsoc2013-evolution-ce05b0db24215b2a29c89d502570ab1dcd63d24a.zip |
new function. (delete_contact_cb): wire up button to call
* addressbook/gui/component/addressbook.c (card_deleted_cb): new
function.
(delete_contact_cb): wire up button to call
e_minicard_view_remove_selection.
* addressbook/gui/minicard/e-minicard-view.c
(e_minicard_view_remove_selection): fix warning, and stick "view"
in the name.
svn path=/trunk/; revision=2387
Diffstat (limited to 'addressbook/gui/minicard')
-rw-r--r-- | addressbook/gui/minicard/e-minicard-view.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/addressbook/gui/minicard/e-minicard-view.c b/addressbook/gui/minicard/e-minicard-view.c index 4cd3606876..097d38dbcd 100644 --- a/addressbook/gui/minicard/e-minicard-view.c +++ b/addressbook/gui/minicard/e-minicard-view.c @@ -255,9 +255,9 @@ e_minicard_view_destroy (GtkObject *object) } void -e_minicard_remove_selection(EMinicardView *view, - EBookCallback cb, - gpointer closure) +e_minicard_view_remove_selection(EMinicardView *view, + EBookCallback cb, + gpointer closure) { if (view->book) { EReflow *reflow = E_REFLOW(view); @@ -265,7 +265,7 @@ e_minicard_remove_selection(EMinicardView *view, for (list = reflow->items; list; list = g_list_next(list)) { GnomeCanvasItem *item = list->data; gboolean has_focus; - gtk_object_get(item, + gtk_object_get(GTK_OBJECT(item), "has_focus", &has_focus, NULL); if (has_focus) { |