From ff321bb10e8eacdef7508cd9b7caf57739b18658 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Fri, 13 Oct 2017 15:29:45 -0400 Subject: src/*.c: Reorganize #include directives --- (limited to 'src') diff --git a/src/about.c b/src/about.c index 39e6a7a..63cfaaa 100644 --- a/src/about.c +++ b/src/about.c @@ -19,13 +19,14 @@ * along with Marquee. If not, see . */ +#include "about.h" + #include #include -#include "about.h" -#include "application.h" #include "about/paths.h" +#include "application.h" static GHashTable * parse_query_string(gchar *str) diff --git a/src/application.c b/src/application.c index f5edc7f..13fba19 100644 --- a/src/application.c +++ b/src/application.c @@ -19,15 +19,16 @@ * along with Marquee. If not, see . */ +#include "application.h" + #include #include #include -#include "application.h" +#include "about.h" #include "config.h" #include "web-settings.h" -#include "about.h" #include "window.h" static void diff --git a/src/back-forward-button-box.c b/src/back-forward-button-box.c index d95bf41..656c4b6 100644 --- a/src/back-forward-button-box.c +++ b/src/back-forward-button-box.c @@ -19,11 +19,12 @@ * along with Marquee. If not, see . */ +#include "back-forward-button-box.h" + #include #include #include -#include "back-forward-button-box.h" #include "web-view.h" struct _MqBackForwardButtonBox { diff --git a/src/config.c b/src/config.c index a841141..c4e2bf7 100644 --- a/src/config.c +++ b/src/config.c @@ -23,13 +23,13 @@ #include #endif -#include +#include "config.h" + #include +#include #include -#include "config.h" - enum type { TYPE_BOOLEAN, TYPE_INTEGER, diff --git a/src/find-toolbar.c b/src/find-toolbar.c index 16a8f3f..3ef245b 100644 --- a/src/find-toolbar.c +++ b/src/find-toolbar.c @@ -19,11 +19,12 @@ * along with Marquee. If not, see . */ +#include "find-toolbar.h" + #include #include #include -#include "find-toolbar.h" #include "web-view.h" struct _MqFindToolbar { diff --git a/src/gpl-3-0.c b/src/gpl-3-0.c index 52c101a..b63c279 100644 --- a/src/gpl-3-0.c +++ b/src/gpl-3-0.c @@ -19,10 +19,10 @@ * along with Marquee. If not, see . */ -#include - #include "gpl-3-0.h" +#include + /* * From * diff --git a/src/home-button.c b/src/home-button.c index 3a0a0ab..bc44853 100644 --- a/src/home-button.c +++ b/src/home-button.c @@ -19,11 +19,12 @@ * along with Marquee. If not, see . */ +#include "home-button.h" + #include #include #include -#include "home-button.h" #include "config.h" #include "web-view.h" diff --git a/src/html.c b/src/html.c index e8f8e4c..9417db9 100644 --- a/src/html.c +++ b/src/html.c @@ -19,14 +19,14 @@ * along with Marquee. If not, see . */ +#include "html.h" + #include #include #include #include -#include "html.h" - static const gchar *styles = /* * General styles diff --git a/src/main-menu.c b/src/main-menu.c index 88d5622..96c0310 100644 --- a/src/main-menu.c +++ b/src/main-menu.c @@ -19,13 +19,14 @@ * along with Marquee. If not, see . */ +#include "main-menu.h" + #include #include #include -#include "main-menu.h" -#include "tab.h" #include "find-toolbar.h" +#include "tab.h" #include "web-view.h" struct _MqMainMenu { diff --git a/src/navigation-toolbar.c b/src/navigation-toolbar.c index 3d991be..655b076 100644 --- a/src/navigation-toolbar.c +++ b/src/navigation-toolbar.c @@ -19,20 +19,21 @@ * along with Marquee. If not, see . */ +#include "navigation-toolbar.h" + #include #include #include -#include "navigation-toolbar.h" +#include "back-forward-button-box.h" #include "config.h" -#include "tab.h" #include "find-toolbar.h" -#include "web-view.h" -#include "back-forward-button-box.h" -#include "stop-reload-button.h" -#include "uri-entry.h" #include "home-button.h" #include "main-menu.h" +#include "stop-reload-button.h" +#include "tab.h" +#include "uri-entry.h" +#include "web-view.h" struct _MqNavigationToolbar { GtkToolbar parent_instance; diff --git a/src/stop-reload-button.c b/src/stop-reload-button.c index b884773..315a313 100644 --- a/src/stop-reload-button.c +++ b/src/stop-reload-button.c @@ -19,11 +19,12 @@ * along with Marquee. If not, see . */ +#include "stop-reload-button.h" + #include #include #include -#include "stop-reload-button.h" #include "web-view.h" struct _MqStopReloadButton { diff --git a/src/tab.c b/src/tab.c index f4f11bc..bae726d 100644 --- a/src/tab.c +++ b/src/tab.c @@ -19,13 +19,14 @@ * along with Marquee. If not, see . */ +#include "tab.h" + #include #include -#include "tab.h" -#include "navigation-toolbar.h" #include "find-toolbar.h" +#include "navigation-toolbar.h" #include "web-view.h" static void diff --git a/src/uri-entry.c b/src/uri-entry.c index e91492f..1dcf4c9 100644 --- a/src/uri-entry.c +++ b/src/uri-entry.c @@ -19,11 +19,12 @@ * along with Marquee. If not, see . */ +#include "uri-entry.h" + #include #include #include -#include "uri-entry.h" #include "web-view.h" struct _MqUriEntry { diff --git a/src/web-settings.c b/src/web-settings.c index e8ed669..c6b9c44 100644 --- a/src/web-settings.c +++ b/src/web-settings.c @@ -19,9 +19,10 @@ * along with Marquee. If not, see . */ +#include "web-settings.h" + #include -#include "web-settings.h" #include "config.h" enum mapping_type { diff --git a/src/web-view.c b/src/web-view.c index 9d63894..ca8e98d 100644 --- a/src/web-view.c +++ b/src/web-view.c @@ -19,6 +19,8 @@ * along with Marquee. If not, see . */ +#include "web-view.h" + #include #include @@ -26,9 +28,8 @@ #include #include -#include "web-view.h" -#include "tab.h" #include "config.h" +#include "tab.h" struct _MqWebView { WebKitWebView parent_instance; diff --git a/src/window.c b/src/window.c index a5bf6c4..b6821e7 100644 --- a/src/window.c +++ b/src/window.c @@ -19,11 +19,12 @@ * along with Marquee. If not, see . */ +#include "window.h" + #include #include -#include "window.h" #include "application.h" #include "tab.h" -- cgit v0.9.1