diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-05-25 22:15:32 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-05-25 22:15:32 +0800 |
commit | 96538878911586a9e9ca26b81e1916c04e538980 (patch) | |
tree | ffcfe184bab289d6917a65d850bc4ba310be0447 /shell/e-shell.c | |
parent | 3e1b34841d3a699f77848f5de019f18ccb2d1ca1 (diff) | |
download | gsoc2013-evolution-96538878911586a9e9ca26b81e1916c04e538980.tar gsoc2013-evolution-96538878911586a9e9ca26b81e1916c04e538980.tar.gz gsoc2013-evolution-96538878911586a9e9ca26b81e1916c04e538980.tar.bz2 gsoc2013-evolution-96538878911586a9e9ca26b81e1916c04e538980.tar.lz gsoc2013-evolution-96538878911586a9e9ca26b81e1916c04e538980.tar.xz gsoc2013-evolution-96538878911586a9e9ca26b81e1916c04e538980.tar.zst gsoc2013-evolution-96538878911586a9e9ca26b81e1916c04e538980.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r-- | shell/e-shell.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c index a786bf6eed..e41d836730 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -61,7 +61,7 @@ struct _EShellPrivate { gchar *geometry; gchar *module_directory; - + gchar *startup_view; guint auto_reconnect : 1; @@ -1940,7 +1940,7 @@ e_shell_adapt_window_size (EShell *shell, scr = gdk_screen_get_default (); monitor = gdk_screen_get_monitor_at_window (scr, GTK_WIDGET (window)->window); gdk_screen_get_monitor_geometry (scr, monitor, &rect); - + gtk_window_set_default_size (window, rect.width, rect.height); gtk_window_set_decorated (window, FALSE); gtk_window_maximize (window); @@ -1948,13 +1948,12 @@ e_shell_adapt_window_size (EShell *shell, void e_shell_set_startup_view (EShell *shell, - const char *view) + const gchar *view) { shell->priv->startup_view = g_strdup(view); } - -const char * +const gchar * e_shell_get_startup_view (EShell *shell) { return shell->priv->startup_view; |