[Xfce4-commits] [thunar-plugins/thunar-vcs-plugin] 05/09: Organize includes
noreply at xfce.org
noreply at xfce.org
Sat Jun 2 05:09:39 CEST 2018
This is an automated email from the git hooks/post-receive script.
a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository thunar-plugins/thunar-vcs-plugin.
commit e2a0615880fed82621c36c58e8773c975f6d20db
Author: Andre Miranda <andreldm at xfce.org>
Date: Fri Jun 1 22:57:13 2018 -0300
Organize includes
---
thunar-vcs-plugin/tvp-git-action.c | 9 ++-------
thunar-vcs-plugin/tvp-svn-action.c | 9 ++-------
thunar-vcs-plugin/tvp-svn-backend.c | 2 --
thunar-vcs-plugin/tvp-svn-property-page.c | 4 ++--
tvp-git-helper/tgh-blame-dialog.c | 2 --
tvp-git-helper/tgh-branch-dialog.c | 2 --
tvp-git-helper/tgh-cell-renderer-graph.c | 1 -
tvp-git-helper/tgh-clean-dialog.c | 1 -
tvp-git-helper/tgh-common.h | 2 ++
tvp-git-helper/tgh-file-selection-dialog.c | 1 -
tvp-git-helper/tgh-log-dialog.c | 2 --
tvp-git-helper/tgh-notify-dialog.c | 2 --
tvp-git-helper/tgh-stash-dialog.c | 2 --
tvp-git-helper/tgh-status-dialog.c | 2 --
tvp-git-helper/tgh-status.c | 2 ++
tvp-git-helper/tgh-transfer-dialog.c | 4 ++--
tvp-svn-helper/main.c | 1 -
tvp-svn-helper/tsh-blame-dialog.c | 2 --
tvp-svn-helper/tsh-diff-dialog.c | 6 ++----
tvp-svn-helper/tsh-file-dialog.c | 1 -
tvp-svn-helper/tsh-file-selection-dialog.c | 1 -
tvp-svn-helper/tsh-lock-dialog.c | 1 -
tvp-svn-helper/tsh-log-dialog.c | 6 ++----
tvp-svn-helper/tsh-log-message-dialog.c | 1 -
tvp-svn-helper/tsh-login-dialog.c | 1 -
tvp-svn-helper/tsh-notify-dialog.c | 2 --
tvp-svn-helper/tsh-properties-dialog.c | 6 ++----
tvp-svn-helper/tsh-relocate-dialog.c | 5 +++--
tvp-svn-helper/tsh-status-dialog.c | 6 ++----
tvp-svn-helper/tsh-transfer-dialog.c | 5 +++--
tvp-svn-helper/tsh-tree-common.h | 2 ++
tvp-svn-helper/tsh-trust-dialog.c | 1 -
32 files changed, 28 insertions(+), 66 deletions(-)
diff --git a/thunar-vcs-plugin/tvp-git-action.c b/thunar-vcs-plugin/tvp-git-action.c
index 8a40f40..ab8f266 100644
--- a/thunar-vcs-plugin/tvp-git-action.c
+++ b/thunar-vcs-plugin/tvp-git-action.c
@@ -20,15 +20,10 @@
#include <config.h>
#endif
-#include <thunarx/thunarx.h>
-
-#include <libxfce4util/libxfce4util.h>
-
-#include <thunar-vcs-plugin/tvp-git-action.h>
-
#include <string.h>
-
#include <sys/wait.h>
+#include <libxfce4util/libxfce4util.h>
+#include <thunar-vcs-plugin/tvp-git-action.h>
diff --git a/thunar-vcs-plugin/tvp-svn-action.c b/thunar-vcs-plugin/tvp-svn-action.c
index f7a999e..034f1bc 100644
--- a/thunar-vcs-plugin/tvp-svn-action.c
+++ b/thunar-vcs-plugin/tvp-svn-action.c
@@ -20,15 +20,10 @@
#include <config.h>
#endif
-#include <thunarx/thunarx.h>
-
-#include <libxfce4util/libxfce4util.h>
-
-#include <thunar-vcs-plugin/tvp-svn-action.h>
-
#include <string.h>
-
#include <sys/wait.h>
+#include <libxfce4util/libxfce4util.h>
+#include <thunar-vcs-plugin/tvp-svn-action.h>
diff --git a/thunar-vcs-plugin/tvp-svn-backend.c b/thunar-vcs-plugin/tvp-svn-backend.c
index fc9a349..fcf26c6 100644
--- a/thunar-vcs-plugin/tvp-svn-backend.c
+++ b/thunar-vcs-plugin/tvp-svn-backend.c
@@ -20,8 +20,6 @@
#include <config.h>
#endif
-#include <glib.h>
-
#include <subversion-1/svn_cmdline.h>
#include <subversion-1/svn_client.h>
#include <subversion-1/svn_pools.h>
diff --git a/thunar-vcs-plugin/tvp-svn-property-page.c b/thunar-vcs-plugin/tvp-svn-property-page.c
index ed0135d..8d04b3e 100644
--- a/thunar-vcs-plugin/tvp-svn-property-page.c
+++ b/thunar-vcs-plugin/tvp-svn-property-page.c
@@ -22,10 +22,10 @@
#include <thunarx/thunarx.h>
-#include <libxfce4util/libxfce4util.h>
-
#include <subversion-1/svn_types.h>
+#include <libxfce4util/libxfce4util.h>
+
#include <thunar-vcs-plugin/tvp-svn-backend.h>
#include <thunar-vcs-plugin/tvp-svn-property-page.h>
diff --git a/tvp-git-helper/tgh-blame-dialog.c b/tvp-git-helper/tgh-blame-dialog.c
index 9eb5585..b1b27ba 100644
--- a/tvp-git-helper/tgh-blame-dialog.c
+++ b/tvp-git-helper/tgh-blame-dialog.c
@@ -20,8 +20,6 @@
#include <config.h>
#endif
-#include <gtk/gtk.h>
-
#include <exo/exo.h>
#include <libxfce4util/libxfce4util.h>
diff --git a/tvp-git-helper/tgh-branch-dialog.c b/tvp-git-helper/tgh-branch-dialog.c
index 165e33c..36bee17 100644
--- a/tvp-git-helper/tgh-branch-dialog.c
+++ b/tvp-git-helper/tgh-branch-dialog.c
@@ -20,8 +20,6 @@
#include <config.h>
#endif
-#include <gtk/gtk.h>
-
#include <exo/exo.h>
#include <libxfce4util/libxfce4util.h>
diff --git a/tvp-git-helper/tgh-cell-renderer-graph.c b/tvp-git-helper/tgh-cell-renderer-graph.c
index 9606103..efc1373 100644
--- a/tvp-git-helper/tgh-cell-renderer-graph.c
+++ b/tvp-git-helper/tgh-cell-renderer-graph.c
@@ -21,7 +21,6 @@
#endif
#include <libxfce4util/libxfce4util.h>
-#include <gtk/gtk.h>
#include "tgh-common.h"
#include "tgh-cell-renderer-graph.h"
diff --git a/tvp-git-helper/tgh-clean-dialog.c b/tvp-git-helper/tgh-clean-dialog.c
index e1b69a2..642520e 100644
--- a/tvp-git-helper/tgh-clean-dialog.c
+++ b/tvp-git-helper/tgh-clean-dialog.c
@@ -21,7 +21,6 @@
#endif
#include <libxfce4util/libxfce4util.h>
-#include <gtk/gtk.h>
#include "tgh-clean-dialog.h"
diff --git a/tvp-git-helper/tgh-common.h b/tvp-git-helper/tgh-common.h
index df3dab4..6fc981d 100644
--- a/tvp-git-helper/tgh-common.h
+++ b/tvp-git-helper/tgh-common.h
@@ -19,6 +19,8 @@
#ifndef __TGH_COMMON_H__
#define __TGH_COMMON_H__
+#include <gtk/gtk.h>
+
G_BEGIN_DECLS
void tgh_replace_child (gboolean, GPid);
diff --git a/tvp-git-helper/tgh-file-selection-dialog.c b/tvp-git-helper/tgh-file-selection-dialog.c
index f0f0847..c7c6588 100644
--- a/tvp-git-helper/tgh-file-selection-dialog.c
+++ b/tvp-git-helper/tgh-file-selection-dialog.c
@@ -21,7 +21,6 @@
#endif
#include <libxfce4util/libxfce4util.h>
-#include <gtk/gtk.h>
#include "tgh-common.h"
#include "tgh-file-selection-dialog.h"
diff --git a/tvp-git-helper/tgh-log-dialog.c b/tvp-git-helper/tgh-log-dialog.c
index 50c1e10..bbf03fa 100644
--- a/tvp-git-helper/tgh-log-dialog.c
+++ b/tvp-git-helper/tgh-log-dialog.c
@@ -20,8 +20,6 @@
#include <config.h>
#endif
-#include <gtk/gtk.h>
-
#include <exo/exo.h>
#include <libxfce4util/libxfce4util.h>
diff --git a/tvp-git-helper/tgh-notify-dialog.c b/tvp-git-helper/tgh-notify-dialog.c
index a44e9f9..934d4c8 100644
--- a/tvp-git-helper/tgh-notify-dialog.c
+++ b/tvp-git-helper/tgh-notify-dialog.c
@@ -20,8 +20,6 @@
#include <config.h>
#endif
-#include <gtk/gtk.h>
-
#include <exo/exo.h>
#include <libxfce4util/libxfce4util.h>
diff --git a/tvp-git-helper/tgh-stash-dialog.c b/tvp-git-helper/tgh-stash-dialog.c
index 24d8e27..c9de22c 100644
--- a/tvp-git-helper/tgh-stash-dialog.c
+++ b/tvp-git-helper/tgh-stash-dialog.c
@@ -20,8 +20,6 @@
#include <config.h>
#endif
-#include <gtk/gtk.h>
-
#include <exo/exo.h>
#include <libxfce4util/libxfce4util.h>
diff --git a/tvp-git-helper/tgh-status-dialog.c b/tvp-git-helper/tgh-status-dialog.c
index b711541..03d9878 100644
--- a/tvp-git-helper/tgh-status-dialog.c
+++ b/tvp-git-helper/tgh-status-dialog.c
@@ -20,8 +20,6 @@
#include <config.h>
#endif
-#include <gtk/gtk.h>
-
#include <exo/exo.h>
#include <libxfce4util/libxfce4util.h>
diff --git a/tvp-git-helper/tgh-status.c b/tvp-git-helper/tgh-status.c
index 72211e8..a735fd1 100644
--- a/tvp-git-helper/tgh-status.c
+++ b/tvp-git-helper/tgh-status.c
@@ -30,7 +30,9 @@
#include <glib.h>
#include <gtk/gtk.h>
+
#include <libxfce4util/libxfce4util.h>
+
#include "tgh-common.h"
#include "tgh-dialog-common.h"
#include "tgh-status-dialog.h"
diff --git a/tvp-git-helper/tgh-transfer-dialog.c b/tvp-git-helper/tgh-transfer-dialog.c
index 8f04d34..07137b7 100644
--- a/tvp-git-helper/tgh-transfer-dialog.c
+++ b/tvp-git-helper/tgh-transfer-dialog.c
@@ -20,10 +20,10 @@
#include <config.h>
#endif
-#include <libxfce4util/libxfce4util.h>
-#include <gtk/gtk.h>
#include <dirent.h>
+#include <libxfce4util/libxfce4util.h>
+
#include "tgh-transfer-dialog.h"
static void browse_callback(GtkButton *, TghTransferDialog *);
diff --git a/tvp-svn-helper/main.c b/tvp-svn-helper/main.c
index e9422fd..792547e 100644
--- a/tvp-svn-helper/main.c
+++ b/tvp-svn-helper/main.c
@@ -36,7 +36,6 @@
#include "tsh-common.h"
#include "tsh-add.h"
#include "tsh-blame.h"
-//#include "tsh-changelist.h"
#include "tsh-checkout.h"
#include "tsh-cleanup.h"
#include "tsh-commit.h"
diff --git a/tvp-svn-helper/tsh-blame-dialog.c b/tvp-svn-helper/tsh-blame-dialog.c
index 179f617..e947eee 100644
--- a/tvp-svn-helper/tsh-blame-dialog.c
+++ b/tvp-svn-helper/tsh-blame-dialog.c
@@ -20,8 +20,6 @@
#include <config.h>
#endif
-#include <gtk/gtk.h>
-
#include <exo/exo.h>
#include <libxfce4util/libxfce4util.h>
diff --git a/tvp-svn-helper/tsh-diff-dialog.c b/tvp-svn-helper/tsh-diff-dialog.c
index 3642441..3f18a37 100644
--- a/tvp-svn-helper/tsh-diff-dialog.c
+++ b/tvp-svn-helper/tsh-diff-dialog.c
@@ -21,14 +21,12 @@
#include <config.h>
#endif
-#include <gtk/gtk.h>
+#include <exo/exo.h>
+#include <libxfce4util/libxfce4util.h>
#include <subversion-1/svn_client.h>
#include <subversion-1/svn_pools.h>
-#include <exo/exo.h>
-#include <libxfce4util/libxfce4util.h>
-
#include "tsh-common.h"
#include "tsh-diff-dialog.h"
diff --git a/tvp-svn-helper/tsh-file-dialog.c b/tvp-svn-helper/tsh-file-dialog.c
index 6fc24ec..afe5796 100644
--- a/tvp-svn-helper/tsh-file-dialog.c
+++ b/tvp-svn-helper/tsh-file-dialog.c
@@ -21,7 +21,6 @@
#endif
#include <libxfce4util/libxfce4util.h>
-#include <gtk/gtk.h>
#include "tsh-file-dialog.h"
diff --git a/tvp-svn-helper/tsh-file-selection-dialog.c b/tvp-svn-helper/tsh-file-selection-dialog.c
index 2d38ece..f75d5fa 100644
--- a/tvp-svn-helper/tsh-file-selection-dialog.c
+++ b/tvp-svn-helper/tsh-file-selection-dialog.c
@@ -21,7 +21,6 @@
#endif
#include <libxfce4util/libxfce4util.h>
-#include <gtk/gtk.h>
#include <subversion-1/svn_client.h>
#include <subversion-1/svn_pools.h>
diff --git a/tvp-svn-helper/tsh-lock-dialog.c b/tvp-svn-helper/tsh-lock-dialog.c
index 4c4664a..fd265dd 100644
--- a/tvp-svn-helper/tsh-lock-dialog.c
+++ b/tvp-svn-helper/tsh-lock-dialog.c
@@ -21,7 +21,6 @@
#endif
#include <libxfce4util/libxfce4util.h>
-#include <gtk/gtk.h>
#include "tsh-lock-dialog.h"
diff --git a/tvp-svn-helper/tsh-log-dialog.c b/tvp-svn-helper/tsh-log-dialog.c
index c8f8104..62ce81d 100644
--- a/tvp-svn-helper/tsh-log-dialog.c
+++ b/tvp-svn-helper/tsh-log-dialog.c
@@ -20,13 +20,11 @@
#include <config.h>
#endif
-#include <gtk/gtk.h>
-
-#include <subversion-1/svn_client.h>
-
#include <exo/exo.h>
#include <libxfce4util/libxfce4util.h>
+#include <subversion-1/svn_client.h>
+
#include "tsh-common.h"
#include "tsh-tree-common.h"
#include "tsh-log-dialog.h"
diff --git a/tvp-svn-helper/tsh-log-message-dialog.c b/tvp-svn-helper/tsh-log-message-dialog.c
index f7e9484..0536833 100644
--- a/tvp-svn-helper/tsh-log-message-dialog.c
+++ b/tvp-svn-helper/tsh-log-message-dialog.c
@@ -21,7 +21,6 @@
#endif
#include <libxfce4util/libxfce4util.h>
-#include <gtk/gtk.h>
#include "tsh-tree-common.h"
#include "tsh-log-message-dialog.h"
diff --git a/tvp-svn-helper/tsh-login-dialog.c b/tvp-svn-helper/tsh-login-dialog.c
index 32f8a5b..289e8a2 100644
--- a/tvp-svn-helper/tsh-login-dialog.c
+++ b/tvp-svn-helper/tsh-login-dialog.c
@@ -21,7 +21,6 @@
#endif
#include <libxfce4util/libxfce4util.h>
-#include <gtk/gtk.h>
#include "tsh-login-dialog.h"
diff --git a/tvp-svn-helper/tsh-notify-dialog.c b/tvp-svn-helper/tsh-notify-dialog.c
index 55323bf..68292f4 100644
--- a/tvp-svn-helper/tsh-notify-dialog.c
+++ b/tvp-svn-helper/tsh-notify-dialog.c
@@ -20,8 +20,6 @@
#include <config.h>
#endif
-#include <gtk/gtk.h>
-
#include <exo/exo.h>
#include <libxfce4util/libxfce4util.h>
diff --git a/tvp-svn-helper/tsh-properties-dialog.c b/tvp-svn-helper/tsh-properties-dialog.c
index e631163..93b7c92 100644
--- a/tvp-svn-helper/tsh-properties-dialog.c
+++ b/tvp-svn-helper/tsh-properties-dialog.c
@@ -20,14 +20,12 @@
#include <config.h>
#endif
-#include <gtk/gtk.h>
+#include <exo/exo.h>
+#include <libxfce4util/libxfce4util.h>
#include <subversion-1/svn_client.h>
#include <subversion-1/svn_props.h>
-#include <exo/exo.h>
-#include <libxfce4util/libxfce4util.h>
-
#include "tsh-common.h"
#include "tsh-properties-dialog.h"
diff --git a/tvp-svn-helper/tsh-relocate-dialog.c b/tvp-svn-helper/tsh-relocate-dialog.c
index 5c70c79..52fdd43 100644
--- a/tvp-svn-helper/tsh-relocate-dialog.c
+++ b/tvp-svn-helper/tsh-relocate-dialog.c
@@ -20,9 +20,10 @@
#include <config.h>
#endif
-#include <libxfce4util/libxfce4util.h>
-#include <gtk/gtk.h>
#include <dirent.h>
+
+#include <libxfce4util/libxfce4util.h>
+
#include <subversion-1/svn_path.h>
#define USE_FILE_ENTRY_REPLACEMENT 1
diff --git a/tvp-svn-helper/tsh-status-dialog.c b/tvp-svn-helper/tsh-status-dialog.c
index aa21743..13ee748 100644
--- a/tvp-svn-helper/tsh-status-dialog.c
+++ b/tvp-svn-helper/tsh-status-dialog.c
@@ -20,13 +20,11 @@
#include <config.h>
#endif
-#include <gtk/gtk.h>
-
-#include <subversion-1/svn_client.h>
-
#include <exo/exo.h>
#include <libxfce4util/libxfce4util.h>
+#include <subversion-1/svn_client.h>
+
#include "tsh-common.h"
#include "tsh-tree-common.h"
#include "tsh-status-dialog.h"
diff --git a/tvp-svn-helper/tsh-transfer-dialog.c b/tvp-svn-helper/tsh-transfer-dialog.c
index 74ec1a5..91fb88b 100644
--- a/tvp-svn-helper/tsh-transfer-dialog.c
+++ b/tvp-svn-helper/tsh-transfer-dialog.c
@@ -20,9 +20,10 @@
#include <config.h>
#endif
-#include <libxfce4util/libxfce4util.h>
-#include <gtk/gtk.h>
#include <dirent.h>
+
+#include <libxfce4util/libxfce4util.h>
+
#include <subversion-1/svn_path.h>
#define USE_FILE_ENTRY_REPLACEMENT 1
diff --git a/tvp-svn-helper/tsh-tree-common.h b/tvp-svn-helper/tsh-tree-common.h
index d1b9fbc..c11d802 100644
--- a/tvp-svn-helper/tsh-tree-common.h
+++ b/tvp-svn-helper/tsh-tree-common.h
@@ -19,6 +19,8 @@
#ifndef __TSH_TREE_COMMON_H__
#define __TSH_TREE_COMMON_H__
+#include <gtk/gtk.h>
+
G_BEGIN_DECLS
typedef void (*TshTreeMoveInfoFunc) (GtkTreeStore*, GtkTreeIter*, GtkTreeIter*);
diff --git a/tvp-svn-helper/tsh-trust-dialog.c b/tvp-svn-helper/tsh-trust-dialog.c
index 9fcf8ef..9b3a8da 100644
--- a/tvp-svn-helper/tsh-trust-dialog.c
+++ b/tvp-svn-helper/tsh-trust-dialog.c
@@ -21,7 +21,6 @@
#endif
#include <libxfce4util/libxfce4util.h>
-#include <gtk/gtk.h>
#include <subversion-1/svn_auth.h>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list