aboutsummaryrefslogtreecommitdiffstats
path: root/modules/addressbook/e-book-shell-view-actions.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-06-13 22:27:22 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:42:27 +0800
commitd4b54737d3df8c01039815212e6f269f16b4e2bc (patch)
tree4b297e7915a7c0e058d5956cdf54cba2fd498b91 /modules/addressbook/e-book-shell-view-actions.c
parenta6e518dadb1b85fd7c429bc6b4c541197ad59982 (diff)
downloadgsoc2013-evolution-d4b54737d3df8c01039815212e6f269f16b4e2bc.tar
gsoc2013-evolution-d4b54737d3df8c01039815212e6f269f16b4e2bc.tar.gz
gsoc2013-evolution-d4b54737d3df8c01039815212e6f269f16b4e2bc.tar.bz2
gsoc2013-evolution-d4b54737d3df8c01039815212e6f269f16b4e2bc.tar.lz
gsoc2013-evolution-d4b54737d3df8c01039815212e6f269f16b4e2bc.tar.xz
gsoc2013-evolution-d4b54737d3df8c01039815212e6f269f16b4e2bc.tar.zst
gsoc2013-evolution-d4b54737d3df8c01039815212e6f269f16b4e2bc.zip
Coding style and whitespace cleanups.
Diffstat (limited to 'modules/addressbook/e-book-shell-view-actions.c')
-rw-r--r--modules/addressbook/e-book-shell-view-actions.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/modules/addressbook/e-book-shell-view-actions.c b/modules/addressbook/e-book-shell-view-actions.c
index c558fff131..029bdd783d 100644
--- a/modules/addressbook/e-book-shell-view-actions.c
+++ b/modules/addressbook/e-book-shell-view-actions.c
@@ -242,9 +242,9 @@ contact_editor_contact_modified_cb (EABEditor *editor,
static void
map_window_show_contact_editor_cb (EContactMapWindow *window,
const gchar *contact_uid,
- gpointer user_data)
+ gpointer user_data)
{
- EShell *shell = e_shell_get_default();
+ EShell *shell = e_shell_get_default ();
EBookShellView *book_shell_view = user_data;
EBookShellSidebar *book_shell_sidebar;
ESource *source;
@@ -294,21 +294,21 @@ action_address_book_map_cb (GtkAction *action,
{
#ifdef WITH_CONTACT_MAPS
EContactMapWindow *map_window;
- EBookShellSidebar *book_shell_sidebar;
- ESource *source;
- ESourceSelector *selector;
- EBook *book;
- GError *error = NULL;
-
- book_shell_sidebar = book_shell_view->priv->book_shell_sidebar;
- selector = e_book_shell_sidebar_get_selector (book_shell_sidebar);
- source = e_source_selector_get_primary_selection (selector);
-
- g_return_if_fail (source != NULL);
- book = e_book_new (source, &error);
- if (error != NULL) {
+ EBookShellSidebar *book_shell_sidebar;
+ ESource *source;
+ ESourceSelector *selector;
+ EBook *book;
+ GError *error = NULL;
+
+ book_shell_sidebar = book_shell_view->priv->book_shell_sidebar;
+ selector = e_book_shell_sidebar_get_selector (book_shell_sidebar);
+ source = e_source_selector_get_primary_selection (selector);
+
+ g_return_if_fail (source != NULL);
+ book = e_book_new (source, &error);
+ if (error != NULL) {
g_warning ("Error loading addressbook: %s", error->message);
- g_error_free (error);
+ g_error_free (error);
return;
}