Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit a352c63

Browse files
committed
only <glib.h> can be included directly
1 parent f667da4 commit a352c63

File tree

11 files changed

+34
-12
lines changed

11 files changed

+34
-12
lines changed

headers/linux/include/libgnome/gnome-url.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@
2424
#ifndef GNOME_URL_H
2525
#define GNOME_URL_H
2626

27-
#include <glib/gmacros.h>
28-
#include <glib/gerror.h>
27+
// MDW 2013-06-05 : error: #error "Only <glib.h> can be included directly."
28+
#include <glib.h>
29+
//#include <glib/gmacros.h>
30+
//#include <glib/gerror.h>
2931

3032
G_BEGIN_DECLS
3133

headers/linux/include/libgnomevfs/gnome-vfs-async-ops.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@
2525
#ifndef GNOME_VFS_ASYNC_OPS_H
2626
#define GNOME_VFS_ASYNC_OPS_H
2727

28-
#include <glib/giochannel.h>
28+
// MDW 2013-06-05 : error: #error "Only <glib.h> can be included directly."
29+
#include <glib.h>
30+
//#include <glib/giochannel.h>
2931
#include <libgnomevfs/gnome-vfs-file-info.h>
3032
#include <libgnomevfs/gnome-vfs-find-directory.h>
3133
#include <libgnomevfs/gnome-vfs-handle.h>

headers/linux/include/libgnomevfs/gnome-vfs-cancellation.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@
2626
#ifndef GNOME_VFS_CANCELLATION_H
2727
#define GNOME_VFS_CANCELLATION_H
2828

29-
#include <glib/gtypes.h>
29+
// MDW 2013-06-05 : error: #error "Only <glib.h> can be included directly."
30+
//#include <glib/gtypes.h>
31+
#include <glib.h>
3032

3133
G_BEGIN_DECLS
3234

headers/linux/include/libgnomevfs/gnome-vfs-directory.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
#ifndef GNOME_VFS_DIRECTORY_H
2525
#define GNOME_VFS_DIRECTORY_H
2626

27-
#include <glib/gmacros.h>
27+
// MDW 2013-06-05 : error: #error "Only <glib.h> can be included directly."
28+
#include <glib.h>
29+
//#include <glib/gmacros.h>
2830
#include <libgnomevfs/gnome-vfs-file-info.h>
2931

3032
G_BEGIN_DECLS

headers/linux/include/libgnomevfs/gnome-vfs-file-size.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@
2626
#ifndef GNOME_VFS_FILE_SIZE_H
2727
#define GNOME_VFS_FILE_SIZE_H
2828

29-
#include <glib/gtypes.h>
29+
// MDW 2013-06-05 : error: #error "Only <glib.h> can be included directly."
30+
#include <glib.h>
31+
//#include <glib/gtypes.h>
3032

3133
/*
3234
* This defines GnomeVFSFileSize and GnomeVFSFileOffset

headers/linux/include/libgnomevfs/gnome-vfs-init.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
#ifndef GNOME_VFS_INIT_H
2525
#define GNOME_VFS_INIT_H
2626

27-
#include <glib/gtypes.h>
27+
// MDW 2013-06-05 : error: #error "Only <glib.h> can be included directly."
28+
//#include <glib/gtypes.h>
29+
#include <glib.h>
2830

2931
G_BEGIN_DECLS
3032

headers/linux/include/libgnomevfs/gnome-vfs-mime-utils.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
#ifndef GNOME_VFS_MIME_UTILS_H
2525
#define GNOME_VFS_MIME_UTILS_H
2626

27-
#include <glib/gtypes.h>
27+
// MDW 2013-06-05 : error: #error "Only <glib.h> can be included directly."
28+
//#include <glib/gtypes.h>
29+
#include <glib.h>
2830

2931
G_BEGIN_DECLS
3032

headers/linux/include/libgnomevfs/gnome-vfs-result.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@
2626
#ifndef GNOME_VFS_RESULT_H
2727
#define GNOME_VFS_RESULT_H
2828

29-
#include <glib/gmacros.h>
29+
// MDW 2013-06-05 : error: #error "Only <glib.h> can be included directly."
30+
//#include <glib/gmacros.h>
31+
#include <glib.h>
3032

3133
G_BEGIN_DECLS
3234

headers/linux/include/libgnomevfs/gnome-vfs-standard-callbacks.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@
2626
#ifndef GNOME_VFS_STANDARD_CALLBACKS_H
2727
#define GNOME_VFS_STANDARD_CALLBACKS_H
2828

29-
#include <glib/gtypes.h>
29+
// MDW 2013-06-05 : error: #error "Only <glib.h> can be included directly."
30+
//#include <glib/gtypes.h>
31+
#include <glib.h>
3032
#include <libgnomevfs/gnome-vfs-uri.h>
3133

3234
G_BEGIN_DECLS

headers/linux/include/libgnomevfs/gnome-vfs-uri.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
#ifndef GNOME_VFS_URI_H
2525
#define GNOME_VFS_URI_H
2626

27-
#include <glib/glist.h>
27+
// MDW 2013-06-05 : error: #error "Only <glib.h> can be included directly."
28+
#include <glib.h>
29+
//#include <glib/glist.h>
2830
#include <glib-object.h> /* For GType */
2931

3032
G_BEGIN_DECLS

0 commit comments

Comments
 (0)