From 2c4ae5e7685c462f8d464448e4617b8dea029e72 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 9 Nov 2012 22:40:00 -0500 Subject: Coding style and whitespace cleanup. --- modules/addressbook/e-book-shell-content.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/addressbook/e-book-shell-content.c') diff --git a/modules/addressbook/e-book-shell-content.c b/modules/addressbook/e-book-shell-content.c index d2ce13f099..84c8b31699 100644 --- a/modules/addressbook/e-book-shell-content.c +++ b/modules/addressbook/e-book-shell-content.c @@ -703,7 +703,7 @@ e_book_shell_content_set_preview_visible (EBookShellContent *book_shell_content, { g_return_if_fail (E_IS_BOOK_SHELL_CONTENT (book_shell_content)); - if ((book_shell_content->priv->preview_visible ? 1 : 0) == (preview_visible ? 1 : 0)) + if (book_shell_content->priv->preview_visible == preview_visible) return; book_shell_content->priv->preview_visible = preview_visible; @@ -726,7 +726,7 @@ e_book_shell_content_set_preview_show_maps (EBookShellContent *book_shell_conten { g_return_if_fail (E_IS_BOOK_SHELL_CONTENT (book_shell_content)); - if ((book_shell_content->priv->preview_show_maps ? 1 : 0) == (show_maps ? 1 : 0)) + if (book_shell_content->priv->preview_show_maps == show_maps) return; book_shell_content->priv->preview_show_maps = show_maps; -- cgit v1.2.3