diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-12-01 10:53:20 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-02-20 23:04:25 +0800 |
commit | 23f5773903d64a554d977ae7d0ebbaca73528f1f (patch) | |
tree | 104e1a59da8bf96b004bce204b79f47bbe0a6d13 /shell/e-shell-window.c | |
parent | 49bc4c2d765ee1780c23fdc9f42152850dabb220 (diff) | |
download | gsoc2013-evolution-23f5773903d64a554d977ae7d0ebbaca73528f1f.tar.gz gsoc2013-evolution-23f5773903d64a554d977ae7d0ebbaca73528f1f.tar.zst gsoc2013-evolution-23f5773903d64a554d977ae7d0ebbaca73528f1f.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'shell/e-shell-window.c')
-rw-r--r-- | shell/e-shell-window.c | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c index a8b44e67db..ee87446209 100644 --- a/shell/e-shell-window.c +++ b/shell/e-shell-window.c @@ -81,9 +81,10 @@ shell_window_menubar_update_new_menu (EShellWindow *shell_window) gtk_widget_show (widget); } -static void shell_window_backend_prefer_item_changed_cb (EShellBackend *backend, - GParamSpec *pspec, - EShellWindow *shell_window); +static void shell_window_backend_prefer_item_changed_cb + (EShellBackend *backend, + GParamSpec *pspec, + EShellWindow *shell_window); static void shell_window_toolbar_update_new_menu (EShellWindow *shell_window, @@ -106,19 +107,25 @@ shell_window_toolbar_update_new_menu (EShellWindow *shell_window, shell_backend = e_shell_view_get_shell_backend (shell_view); - g_signal_handlers_disconnect_by_func (shell_backend, - shell_window_backend_prefer_item_changed_cb, shell_window); - g_signal_connect (shell_backend, "notify::prefer-new-item", - G_CALLBACK (shell_window_backend_prefer_item_changed_cb), shell_window); + g_signal_handlers_disconnect_by_func ( + shell_backend, + shell_window_backend_prefer_item_changed_cb, + shell_window); - shell_window_backend_prefer_item_changed_cb (shell_backend, NULL, shell_window); + g_signal_connect ( + shell_backend, "notify::prefer-new-item", + G_CALLBACK (shell_window_backend_prefer_item_changed_cb), + shell_window); + + shell_window_backend_prefer_item_changed_cb ( + shell_backend, NULL, shell_window); } } static void shell_window_backend_prefer_item_changed_cb (EShellBackend *backend, - GParamSpec *pspec, - EShellWindow *shell_window) + GParamSpec *pspec, + EShellWindow *shell_window) { EShellView *shell_view; EShellBackend *shell_backend; @@ -1560,7 +1567,7 @@ e_shell_window_set_toolbar_visible (EShellWindow *shell_window, **/ void e_shell_window_set_toolbar_new_prefer_item (EShellWindow *shell_window, - const gchar *prefer_item) + const gchar *prefer_item) { GtkWidget *toolbar; GtkToolItem *item; |