Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ángel
evolution
Commits
d15d6e8e
Commit
d15d6e8e
authored
Feb 16, 2011
by
Milan Crha
Committed by
Rodrigo Moya
Jun 29, 2011
Browse files
Bug #638391 - Always passing NULL to emu_addr_cancel_book()
parent
65bc5854
Changes
1
Hide whitespace changes
Inline
Side-by-side
mail/em-utils.c
View file @
d15d6e8e
...
...
@@ -1580,12 +1580,16 @@ emu_addr_setup (gpointer user_data)
static
void
emu_addr_cancel_book
(
gpointer
data
)
{
EBook
*
book
=
data
;
EBook
*
*
p
book
=
data
;
GError
*
err
=
NULL
;
/* we dunna care if this fails, its just the best we can try */
e_book_cancel
(
book
,
&
err
);
g_clear_error
(
&
err
);
g_return_if_fail
(
pbook
!=
NULL
);
if
(
*
pbook
)
{
/* we dunna care if this fails, its just the best we can try */
e_book_cancel
(
*
pbook
,
&
err
);
g_clear_error
(
&
err
);
}
}
static
void
...
...
@@ -1750,7 +1754,7 @@ search_address_in_addressbooks (const gchar *address, gboolean local_only, gbool
d
(
printf
(
" checking '%s'
\n
"
,
e_source_get_uri
(
source
)));
hook_book
=
mail_cancel_hook_add
(
emu_addr_cancel_book
,
book
);
hook_book
=
mail_cancel_hook_add
(
emu_addr_cancel_book
,
&
book
);
hook_stop
=
mail_cancel_hook_add
(
emu_addr_cancel_stop
,
&
stop
);
book
=
g_hash_table_lookup
(
emu_books_hash
,
e_source_peek_uid
(
source
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment