[file-roller] include config.h in all .c files



commit e0931cfeaec8fb0c262c6fff2297a5dd2701f88b
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sun Apr 28 09:46:10 2013 +0200

    include config.h in all .c files

 src/fr-command-ace.c              |    1 +
 src/fr-command-alz.c              |    1 +
 src/fr-command-ar.c               |    1 +
 src/fr-command-arj.c              |    1 +
 src/fr-command-cfile.c            |    1 +
 src/fr-command-jar.c              |    1 +
 src/fr-command-lha.c              |    1 +
 src/fr-command-rar.c              |    1 +
 src/fr-command-tar.c              |    5 +----
 src/fr-command-unarchiver.c       |    1 +
 src/fr-command-unstuff.c          |    1 +
 src/fr-command-zoo.c              |    1 +
 src/fr-error.c                    |    1 +
 src/fr-process.c                  |    1 +
 src/fr-window.c                   |    1 -
 src/gio-utils.c                   |    1 +
 src/gth-menu-button.c             |    1 +
 src/gth-toggle-menu-tool-button.c |    1 +
 src/java-utils.c                  |    3 ++-
 src/preferences.c                 |    1 +
 20 files changed, 20 insertions(+), 6 deletions(-)
---
diff --git a/src/fr-command-ace.c b/src/fr-command-ace.c
index 3ddbc45..fb3a84f 100644
--- a/src/fr-command-ace.c
+++ b/src/fr-command-ace.c
@@ -19,6 +19,7 @@
  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <config.h>
 #include <stdlib.h>
 #include <string.h>
 #include <time.h>
diff --git a/src/fr-command-alz.c b/src/fr-command-alz.c
index 5be8306..f2b94d0 100644
--- a/src/fr-command-alz.c
+++ b/src/fr-command-alz.c
@@ -19,6 +19,7 @@
  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <config.h>
 #include <stdlib.h>
 #include <string.h>
 #include <time.h>
diff --git a/src/fr-command-ar.c b/src/fr-command-ar.c
index eda3196..b72b4ac 100644
--- a/src/fr-command-ar.c
+++ b/src/fr-command-ar.c
@@ -19,6 +19,7 @@
  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <config.h>
 #include <stdlib.h>
 #include <string.h>
 #include <time.h>
diff --git a/src/fr-command-arj.c b/src/fr-command-arj.c
index e696be2..d5296f0 100644
--- a/src/fr-command-arj.c
+++ b/src/fr-command-arj.c
@@ -19,6 +19,7 @@
  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <config.h>
 #include <stdlib.h>
 #include <string.h>
 #include <time.h>
diff --git a/src/fr-command-cfile.c b/src/fr-command-cfile.c
index f874d0a..9965ee4 100644
--- a/src/fr-command-cfile.c
+++ b/src/fr-command-cfile.c
@@ -19,6 +19,7 @@
  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <config.h>
 #include <sys/types.h>
 #include <unistd.h>
 #include <stdlib.h>
diff --git a/src/fr-command-jar.c b/src/fr-command-jar.c
index d7eeffd..c0cd17a 100644
--- a/src/fr-command-jar.c
+++ b/src/fr-command-jar.c
@@ -19,6 +19,7 @@
  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <config.h>
 #include <glib.h>
 #include <unistd.h>
 #include <string.h>
diff --git a/src/fr-command-lha.c b/src/fr-command-lha.c
index 77bd4a8..f1de0e1 100644
--- a/src/fr-command-lha.c
+++ b/src/fr-command-lha.c
@@ -19,6 +19,7 @@
  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <config.h>
 #include <stdlib.h>
 #include <string.h>
 #include <time.h>
diff --git a/src/fr-command-rar.c b/src/fr-command-rar.c
index f6bd75a..b67db1f 100644
--- a/src/fr-command-rar.c
+++ b/src/fr-command-rar.c
@@ -19,6 +19,7 @@
  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <config.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff --git a/src/fr-command-tar.c b/src/fr-command-tar.c
index 4cd7837..9e47b31 100644
--- a/src/fr-command-tar.c
+++ b/src/fr-command-tar.c
@@ -20,17 +20,14 @@
  */
 
 #include <config.h>
-
 #include <sys/types.h>
 #include <unistd.h>
 #include <stdlib.h>
 #include <string.h>
 #include <ctype.h>
 #include <time.h>
-
 #include <glib.h>
 #include <glib/gi18n.h>
-
 #include "file-data.h"
 #include "file-utils.h"
 #include "glib-utils.h"
@@ -268,7 +265,7 @@ fr_command_tar_list (FrCommand *comm)
 static gboolean
 can_create_a_compressed_archive (FrCommand *comm)
 {
-       return comm->creating_archive && 
+       return comm->creating_archive &&
                ! _g_mime_type_matches (FR_ARCHIVE (comm)->mime_type, "application/x-7z-compressed-tar") &&
                ! _g_mime_type_matches (FR_ARCHIVE (comm)->mime_type, "application/x-rzip-compressed-tar");
 }
diff --git a/src/fr-command-unarchiver.c b/src/fr-command-unarchiver.c
index 2d9fe07..6c08b31 100644
--- a/src/fr-command-unarchiver.c
+++ b/src/fr-command-unarchiver.c
@@ -19,6 +19,7 @@
  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <config.h>
 #define _XOPEN_SOURCE       /* See feature_test_macros(7) */
 #include <time.h>
 #include <stdio.h>
diff --git a/src/fr-command-unstuff.c b/src/fr-command-unstuff.c
index e1c644f..8b3ccdf 100644
--- a/src/fr-command-unstuff.c
+++ b/src/fr-command-unstuff.c
@@ -19,6 +19,7 @@
  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <config.h>
 #include <stdlib.h>
 #include <string.h>
 #include <time.h>
diff --git a/src/fr-command-zoo.c b/src/fr-command-zoo.c
index f372f99..c8f210a 100644
--- a/src/fr-command-zoo.c
+++ b/src/fr-command-zoo.c
@@ -19,6 +19,7 @@
  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <config.h>
 #include <stdlib.h>
 #include <string.h>
 #include <time.h>
diff --git a/src/fr-error.c b/src/fr-error.c
index 49435cb..f08cf0d 100644
--- a/src/fr-error.c
+++ b/src/fr-error.c
@@ -20,6 +20,7 @@
  */
 
 
+#include <config.h>
 #include "fr-error.h"
 
 
diff --git a/src/fr-process.c b/src/fr-process.c
index 296d1e6..5b8c559 100644
--- a/src/fr-process.c
+++ b/src/fr-process.c
@@ -19,6 +19,7 @@
  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <config.h>
 #include <errno.h>
 #include <fcntl.h>
 #include <stdio.h>
diff --git a/src/fr-window.c b/src/fr-window.c
index a0546a5..6da6409 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -22,7 +22,6 @@
 #include <config.h>
 #include <math.h>
 #include <string.h>
-
 #include <glib/gi18n.h>
 #include <gio/gio.h>
 #include <gtk/gtk.h>
diff --git a/src/gio-utils.c b/src/gio-utils.c
index f8452f1..9d9f708 100644
--- a/src/gio-utils.c
+++ b/src/gio-utils.c
@@ -19,6 +19,7 @@
  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <config.h>
 #include <string.h>
 #include <glib.h>
 #include <gio/gio.h>
diff --git a/src/gth-menu-button.c b/src/gth-menu-button.c
index 544b9b0..c8d2051 100644
--- a/src/gth-menu-button.c
+++ b/src/gth-menu-button.c
@@ -19,6 +19,7 @@
  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <config.h>
 #include <string.h>
 #include <gtk/gtk.h>
 #include "gth-menu-button.h"
diff --git a/src/gth-toggle-menu-tool-button.c b/src/gth-toggle-menu-tool-button.c
index 8af5b61..a4392fd 100644
--- a/src/gth-toggle-menu-tool-button.c
+++ b/src/gth-toggle-menu-tool-button.c
@@ -19,6 +19,7 @@
  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <config.h>
 #include <string.h>
 #include <gtk/gtk.h>
 #include "gth-toggle-menu-action.h"
diff --git a/src/java-utils.c b/src/java-utils.c
index f95ba23..3258329 100644
--- a/src/java-utils.c
+++ b/src/java-utils.c
@@ -18,7 +18,8 @@
  *  You should have received a copy of the GNU General Public License
  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
- 
+
+#include <config.h>
 #include <fcntl.h>
 #include <unistd.h>
 #include <errno.h>
diff --git a/src/preferences.c b/src/preferences.c
index 7afcea3..bdd89fb 100644
--- a/src/preferences.c
+++ b/src/preferences.c
@@ -19,6 +19,7 @@
  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <config.h>
 #include <string.h>
 #include "typedefs.h"
 #include "preferences.h"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]