diff options
Diffstat (limited to 'modules/addressbook/e-book-shell-view-private.c')
-rw-r--r-- | modules/addressbook/e-book-shell-view-private.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/addressbook/e-book-shell-view-private.c b/modules/addressbook/e-book-shell-view-private.c index f930e6d478..6770800dbd 100644 --- a/modules/addressbook/e-book-shell-view-private.c +++ b/modules/addressbook/e-book-shell-view-private.c @@ -522,7 +522,7 @@ e_book_shell_view_execute_search (EBookShellView *book_shell_view) EShellView *shell_view; EShellWindow *shell_window; EShellContent *shell_content; - GtkAction *action; + GtkRadioAction *action; GString *string; EAddressbookView *view; EAddressbookModel *model; @@ -541,8 +541,8 @@ e_book_shell_view_execute_search (EBookShellView *book_shell_view) text = e_shell_content_get_search_text (shell_content); shell_window = e_shell_view_get_shell_window (shell_view); - action = ACTION (CONTACT_SEARCH_ANY_FIELD_CONTAINS); - value = gtk_radio_action_get_current_value (GTK_RADIO_ACTION (action)); + action = GTK_RADIO_ACTION (ACTION (CONTACT_SEARCH_ANY_FIELD_CONTAINS)); + value = gtk_radio_action_get_current_value (action); if (text == NULL || *text == '\0') { text = ""; |