[epiphany/mcatanzaro/cli] shell: reindent
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/mcatanzaro/cli] shell: reindent
- Date: Fri, 4 Jan 2019 15:15:59 +0000 (UTC)
commit e58f77f41550975bdc8647b2abcc71eccc812817
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Fri Jan 4 09:15:40 2019 -0600
shell: reindent
src/ephy-shell.c | 41 ++++++++++++------------
src/ephy-shell.h | 94 ++++++++++++++++++++++++++------------------------------
2 files changed, 64 insertions(+), 71 deletions(-)
---
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index c6938f80a..5cd490791 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -85,10 +85,10 @@ G_DEFINE_TYPE (EphyShell, ephy_shell, EPHY_TYPE_EMBED_SHELL)
* Returns: a newly allocated #EphyShellStartupContext
**/
EphyShellStartupContext *
-ephy_shell_startup_context_new (EphyStartupMode startup_mode,
- char *session_filename,
- char **arguments,
- guint32 user_time)
+ephy_shell_startup_context_new (EphyStartupMode startup_mode,
+ char *session_filename,
+ char **arguments,
+ guint32 user_time)
{
EphyShellStartupContext *ctx = g_new0 (EphyShellStartupContext, 1);
@@ -111,7 +111,8 @@ ephy_shell_startup_context_free (EphyShellStartupContext *ctx)
}
static void
-ephy_shell_startup_continue (EphyShell *shell, EphyShellStartupContext *ctx)
+ephy_shell_startup_continue (EphyShell *shell,
+ EphyShellStartupContext *ctx)
{
EphySession *session = ephy_shell_get_session (shell);
@@ -733,13 +734,13 @@ ephy_shell_get_default (void)
* Return value: (transfer none): the created #EphyEmbed
**/
EphyEmbed *
-ephy_shell_new_tab_full (EphyShell *shell,
- const char *title,
- WebKitWebView *related_view,
- EphyWindow *window,
- EphyEmbed *previous_embed,
- EphyNewTabFlags flags,
- guint32 user_time)
+ephy_shell_new_tab_full (EphyShell *shell,
+ const char *title,
+ WebKitWebView *related_view,
+ EphyWindow *window,
+ EphyEmbed *previous_embed,
+ EphyNewTabFlags flags,
+ guint32 user_time)
{
EphyEmbedShell *embed_shell;
GtkWidget *web_view;
@@ -805,10 +806,10 @@ ephy_shell_new_tab_full (EphyShell *shell,
* Return value: (transfer none): the created #EphyEmbed
**/
EphyEmbed *
-ephy_shell_new_tab (EphyShell *shell,
- EphyWindow *parent_window,
- EphyEmbed *previous_embed,
- EphyNewTabFlags flags)
+ephy_shell_new_tab (EphyShell *shell,
+ EphyWindow *parent_window,
+ EphyEmbed *previous_embed,
+ EphyNewTabFlags flags)
{
return ephy_shell_new_tab_full (shell, NULL, NULL, parent_window,
previous_embed, flags,
@@ -1189,10 +1190,10 @@ ephy_shell_open_uris_idle_done (OpenURIsData *data)
}
void
-ephy_shell_open_uris (EphyShell *shell,
- const char **uris,
- EphyStartupMode startup_mode,
- guint32 user_time)
+ephy_shell_open_uris (EphyShell *shell,
+ const char **uris,
+ EphyStartupMode startup_mode,
+ guint32 user_time)
{
OpenURIsData *data;
guint id;
diff --git a/src/ephy-shell.h b/src/ephy-shell.h
index 2bef66a4d..b6c1b28f6 100644
--- a/src/ephy-shell.h
+++ b/src/ephy-shell.h
@@ -79,56 +79,48 @@ typedef struct {
guint32 user_time;
} EphyShellStartupContext;
-EphyShell *ephy_shell_get_default (void);
-
-EphyEmbed *ephy_shell_new_tab (EphyShell *shell,
- EphyWindow *parent_window,
- EphyEmbed *previous_embed,
- EphyNewTabFlags flags);
-
-EphyEmbed *ephy_shell_new_tab_full (EphyShell *shell,
- const char *title,
- WebKitWebView *related_view,
- EphyWindow *parent_window,
- EphyEmbed *previous_embed,
- EphyNewTabFlags flags,
- guint32 user_time);
-
-EphySession *ephy_shell_get_session (EphyShell *shell);
-
-GNetworkMonitor *ephy_shell_get_net_monitor (EphyShell *shell);
-
-EphyBookmarksManager *ephy_shell_get_bookmarks_manager (EphyShell *shell);
-
-EphyHistoryManager *ephy_shell_get_history_manager (EphyShell *shell);
-
-EphyOpenTabsManager *ephy_shell_get_open_tabs_manager (EphyShell *shell);
-
-EphySyncService *ephy_shell_get_sync_service (EphyShell *shell);
-
-GtkWidget *ephy_shell_get_history_dialog (EphyShell *shell);
-
-GObject *ephy_shell_get_prefs_dialog (EphyShell *shell);
-
-guint ephy_shell_get_n_windows (EphyShell *shell);
-
-gboolean ephy_shell_close_all_windows (EphyShell *shell);
-
-void ephy_shell_try_quit (EphyShell *shell);
-
-void ephy_shell_open_uris (EphyShell *shell,
- const char **uris,
- EphyStartupMode startup_mode,
- guint32 user_time);
-
-void ephy_shell_set_startup_context (EphyShell *shell,
- EphyShellStartupContext *ctx);
-
-EphyShellStartupContext *ephy_shell_startup_context_new (EphyStartupMode startup_mode,
- char *session_filename,
- char **arguments,
- guint32 user_time);
-
-void _ephy_shell_create_instance (EphyEmbedShellMode mode);
+EphyShell *ephy_shell_get_default (void);
+
+EphyEmbed *ephy_shell_new_tab (EphyShell *shell,
+ EphyWindow *parent_window,
+ EphyEmbed *previous_embed,
+ EphyNewTabFlags flags);
+
+EphyEmbed *ephy_shell_new_tab_full (EphyShell *shell,
+ const char *title,
+ WebKitWebView *related_view,
+ EphyWindow *parent_window,
+ EphyEmbed *previous_embed,
+ EphyNewTabFlags flags,
+ guint32 user_time);
+
+EphySession *ephy_shell_get_session (EphyShell *shell);
+GNetworkMonitor *ephy_shell_get_net_monitor (EphyShell *shell);
+EphyBookmarksManager *ephy_shell_get_bookmarks_manager (EphyShell *shell);
+EphyHistoryManager *ephy_shell_get_history_manager (EphyShell *shell);
+EphyOpenTabsManager *ephy_shell_get_open_tabs_manager (EphyShell *shell);
+EphySyncService *ephy_shell_get_sync_service (EphyShell *shell);
+
+GtkWidget *ephy_shell_get_history_dialog (EphyShell *shell);
+GObject *ephy_shell_get_prefs_dialog (EphyShell *shell);
+
+guint ephy_shell_get_n_windows (EphyShell *shell);
+gboolean ephy_shell_close_all_windows (EphyShell *shell);
+
+void ephy_shell_try_quit (EphyShell *shell);
+
+void ephy_shell_open_uris (EphyShell *shell,
+ const char **uris,
+ EphyStartupMode startup_mode,
+ guint32 user_time);
+
+void ephy_shell_set_startup_context (EphyShell *shell,
+ EphyShellStartupContext *ctx);
+EphyShellStartupContext *ephy_shell_startup_context_new (EphyStartupMode startup_mode,
+ char *session_filename,
+ char **arguments,
+ guint32 user_time);
+
+void _ephy_shell_create_instance (EphyEmbedShellMode mode);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]