diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-11-02 02:44:23 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2010-11-10 06:33:21 +0800 |
commit | 26afa6081c3d9826dbae78236dd712fad8b7c340 (patch) | |
tree | 531e8587a88bc408b91341a98e20fbd934cbb344 /modules/addressbook/e-book-shell-view-actions.c | |
parent | f5460f323b2581af28764b96635b2d3a0f1548c9 (diff) | |
download | gsoc2013-evolution-26afa6081c3d9826dbae78236dd712fad8b7c340.tar.gz gsoc2013-evolution-26afa6081c3d9826dbae78236dd712fad8b7c340.tar.zst gsoc2013-evolution-26afa6081c3d9826dbae78236dd712fad8b7c340.zip |
Utilize the new ESourceSelector:primary-selection property.
Diffstat (limited to 'modules/addressbook/e-book-shell-view-actions.c')
-rw-r--r-- | modules/addressbook/e-book-shell-view-actions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/addressbook/e-book-shell-view-actions.c b/modules/addressbook/e-book-shell-view-actions.c index 9c13e599a7..7dec37968d 100644 --- a/modules/addressbook/e-book-shell-view-actions.c +++ b/modules/addressbook/e-book-shell-view-actions.c @@ -65,7 +65,7 @@ action_address_book_delete_cb (GtkAction *action, book_shell_sidebar = book_shell_view->priv->book_shell_sidebar; selector = e_book_shell_sidebar_get_selector (book_shell_sidebar); - source = e_source_selector_peek_primary_selection (selector); + source = e_source_selector_get_primary_selection (selector); g_return_if_fail (source != NULL); response = e_alert_run_dialog_for_args ( @@ -179,7 +179,7 @@ action_address_book_properties_cb (GtkAction *action, book_shell_sidebar = book_shell_view->priv->book_shell_sidebar; selector = e_book_shell_sidebar_get_selector (book_shell_sidebar); - source = e_source_selector_peek_primary_selection (selector); + source = e_source_selector_get_primary_selection (selector); g_return_if_fail (source != NULL); uid = e_source_peek_uid (source); |