[monkey-bubble: 595/753] Fixed #includes, only include necessary header files, use <...> instead of
- From: Sven Herzberg <herzi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [monkey-bubble: 595/753] Fixed #includes, only include necessary header files, use <...> instead of
- Date: Wed, 14 Jul 2010 22:45:41 +0000 (UTC)
commit 40b6ed93951fb14d671b86367d090d4b59555252
Author: Martin Baulig <baulig suse de>
Date: Fri Aug 3 22:49:38 2001 +0000
Fixed #includes, only include necessary header files, use <...> instead of
2001-08-04 Martin Baulig <baulig suse de>
* *.[ch]: Fixed #includes, only include necessary
header files, use <...> instead of "..." where
appropriate.
libgnome/ChangeLog | 6 ++++++
libgnome/gnome-exec.c | 5 ++---
libgnome/gnome-i18n.h | 2 +-
libgnome/gnome-sound-csl.c | 4 +++-
libgnome/gnome-sound.c | 5 ++---
libgnome/gnome-sound.h | 3 ++-
libgnome/gnome-triggers.c | 6 +++---
libgnome/gnome-url.c | 2 +-
libgnome/gnome-url.h | 2 +-
9 files changed, 21 insertions(+), 14 deletions(-)
---
diff --git a/libgnome/ChangeLog b/libgnome/ChangeLog
index 5f5398b..4932e9f 100644
--- a/libgnome/ChangeLog
+++ b/libgnome/ChangeLog
@@ -1,5 +1,11 @@
2001-08-04 Martin Baulig <baulig suse de>
+ * *.[ch]: Fixed #includes, only include necessary
+ header files, use <...> instead of "..." where
+ appropriate.
+
+2001-08-04 Martin Baulig <baulig suse de>
+
* libgnome-init.[ch]: Renamed to gnome-init.[ch].
2001-08-04 Martin Baulig <baulig suse de>
diff --git a/libgnome/gnome-exec.c b/libgnome/gnome-exec.c
index 8675a5c..ffb5e43 100644
--- a/libgnome/gnome-exec.c
+++ b/libgnome/gnome-exec.c
@@ -25,10 +25,9 @@
# include <config.h>
#endif
-#include "gnome-exec.h"
-#include "gnome-util.h"
+#include <libgnome/gnome-exec.h>
+#include <libgnome/gnome-util.h>
#include <libgnome/gnome-i18n.h>
-#include <glib.h>
#include <unistd.h>
#include <fcntl.h>
diff --git a/libgnome/gnome-i18n.h b/libgnome/gnome-i18n.h
index 9fde70f..e8b22fe 100644
--- a/libgnome/gnome-i18n.h
+++ b/libgnome/gnome-i18n.h
@@ -31,7 +31,7 @@
#ifndef __LIBGNOME_I18N_H__
#define __LIBGNOME_I18N_H__ 1
-#include <glib.h>
+#include <glib/gmacros.h>
G_BEGIN_DECLS
diff --git a/libgnome/gnome-sound-csl.c b/libgnome/gnome-sound-csl.c
index 9c4017a..e94ba14 100644
--- a/libgnome/gnome-sound-csl.c
+++ b/libgnome/gnome-sound-csl.c
@@ -24,7 +24,9 @@
*/
#include "config.h"
-#include "gnome-sound.h"
+
+#include <glib.h>
+#include <libgnome/gnome-sound.h>
#include <csl/csl.h>
#include <csl/cslsample.h>
diff --git a/libgnome/gnome-sound.c b/libgnome/gnome-sound.c
index f37dc94..d4ed0de 100644
--- a/libgnome/gnome-sound.c
+++ b/libgnome/gnome-sound.c
@@ -25,11 +25,10 @@
#include "config.h"
-#include "libgnome.h"
-#include "gnome-sound.h"
+#include <libgnome/gnome-sound.h>
+#include <libgnome/gnome-i18n.h>
#include <gmodule.h>
-#include <glib/gerror.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/libgnome/gnome-sound.h b/libgnome/gnome-sound.h
index 9ea102a..46428fa 100644
--- a/libgnome/gnome-sound.h
+++ b/libgnome/gnome-sound.h
@@ -26,7 +26,8 @@
#ifndef __GNOME_SOUND_H__
#define __GNOME_SOUND_H__ 1
-#include <glib.h>
+#include <glib/gmacros.h>
+#include <glib/gerror.h>
G_BEGIN_DECLS
diff --git a/libgnome/gnome-triggers.c b/libgnome/gnome-triggers.c
index 1c1eccf..097f5f4 100644
--- a/libgnome/gnome-triggers.c
+++ b/libgnome/gnome-triggers.c
@@ -27,9 +27,9 @@
/* By Elliot Lee */
-#include "gnome-triggers.h"
-#include "gnome-util.h"
-#include "gnome-sound.h"
+#include <libgnome/gnome-triggers.h>
+#include <libgnome/gnome-util.h>
+#include <libgnome/gnome-sound.h>
#include <unistd.h>
#include <stdio.h>
diff --git a/libgnome/gnome-url.c b/libgnome/gnome-url.c
index fd8922b..b7393e5 100644
--- a/libgnome/gnome-url.c
+++ b/libgnome/gnome-url.c
@@ -37,7 +37,7 @@
#include <libgnome/gnome-util.h>
#include <libgnome/gnome-init.h>
#include <libgnome/gnome-i18n.h>
-#include "gnome-url.h"
+#include <libgnome/gnome-url.h>
#include <popt.h>
#define DEFAULT_HANDLER "gnome-moz-remote \"%s\""
diff --git a/libgnome/gnome-url.h b/libgnome/gnome-url.h
index 4f83562..daf8729 100644
--- a/libgnome/gnome-url.h
+++ b/libgnome/gnome-url.h
@@ -24,7 +24,7 @@
#ifndef GNOME_URL_H
#define GNOME_URL_H
-#include <glib.h>
+#include <glib/gmacros.h>
G_BEGIN_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]