2007-12-14 Alexander Larsson <alexl@redhat.com>
+ * Makefile.am:
+ * fam/Makefile.am:
+ * gappinfo.h:
+ * gasyncresult.h:
+ * gbufferedinputstream.h:
+ * gbufferedoutputstream.h:
+ * gcancellable.h:
+ * gcontenttype.h:
+ * gdatainputstream.h:
+ * gdataoutputstream.h:
+ * gdesktopappinfo.h:
+ * gdirectorymonitor.h:
+ * gdrive.h:
+ * gfile.h:
+ * gfileattribute.h:
+ * gfileenumerator.h:
+ * gfileicon.h:
+ * gfileinfo.h:
+ * gfileinputstream.h:
+ * gfilemonitor.h:
+ * gfilenamecompleter.h:
+ * gfileoutputstream.h:
+ * gfilterinputstream.h:
+ * gfilteroutputstream.h:
+ * gicon.h:
+ * ginputstream.h:
+ * gio.h:
+ * gioerror.h:
+ * giomodule.h:
+ * gioscheduler.h:
+ * gloadableicon.h:
+ * gmemoryinputstream.h:
+ * gmemoryoutputstream.h:
+ * gmount.h:
+ * gmountoperation.h:
+ * goutputstream.h:
+ * gseekable.h:
+ * gsimpleasyncresult.h:
+ * gthemedicon.h:
+ * gunixinputstream.h:
+ * gunixmounts.h:
+ * gunixoutputstream.h:
+ * gvfs.h:
+ * gvolume.h:
+ * gvolumemonitor.h:
+ * inotify/Makefile.am:
+ Only allow including <gio/gio.h> from apps
+
+2007-12-14 Alexander Larsson <alexl@redhat.com>
+
* gioscheduler.[ch]:
* gsimpleasyncresult.c:
Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
-I$(top_srcdir)/gmodule \
$(GLIB_DEBUG_FLAGS) \
-DG_DISABLE_DEPRECATED \
+ -DGIO_COMPILATION \
-DGIO_MODULE_DIR=\"$(GIO_MODULE_DIR)\"
lib_LTLIBRARIES = libgio-2.0.la
-I$(top_srcdir)/gmodule \
-I$(top_srcdir)/gio \
-DGIO_MODULE_DIR=\"$(GIO_MODULE_DIR)\" \
+ -DGIO_COMPILATION \
-DG_DISABLE_DEPRECATED
libgiofam_la_LDFLAGS = $(module_flags)
* Author: Alexander Larsson <alexl@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_APP_INFO_H__
#define __G_APP_INFO_H__
* Author: Alexander Larsson <alexl@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_ASYNC_RESULT_H__
#define __G_ASYNC_RESULT_H__
* Author: Christian Kellner <gicmo@gnome.org>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_BUFFERED_INPUT_STREAM_H__
#define __G_BUFFERED_INPUT_STREAM_H__
* Author: Christian Kellner <gicmo@gnome.org>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_BUFFERED_OUTPUT_STREAM_H__
#define __G_BUFFERED_OUTPUT_STREAM_H__
* Author: Alexander Larsson <alexl@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_CANCELLABLE_H__
#define __G_CANCELLABLE_H__
* Author: Alexander Larsson <alexl@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_CONTENT_TYPE_H__
#define __G_CONTENT_TYPE_H__
* Author: Alexander Larsson <alexl@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_DATA_INPUT_STREAM_H__
#define __G_DATA_INPUT_STREAM_H__
* Author: Alexander Larsson <alexl@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_DATA_OUTPUT_STREAM_H__
#define __G_DATA_OUTPUT_STREAM_H__
#ifndef __G_DESKTOP_APP_INFO_H__
#define __G_DESKTOP_APP_INFO_H__
-#include <gio/gappinfo.h>
+#include <gio/gio.h>
G_BEGIN_DECLS
* Author: Alexander Larsson <alexl@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_DIRECTORY_MONITOR_H__
#define __G_DIRECTORY_MONITOR_H__
* David Zeuthen <davidz@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_DRIVE_H__
#define __G_DRIVE_H__
* Author: Alexander Larsson <alexl@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_FILE_H__
#define __G_FILE_H__
* Author: Alexander Larsson <alexl@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_FILE_ATTRIBUTE_H__
#define __G_FILE_ATTRIBUTE_H__
* Author: Alexander Larsson <alexl@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_FILE_ENUMERATOR_H__
#define __G_FILE_ENUMERATOR_H__
* Author: Alexander Larsson <alexl@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_FILE_ICON_H__
#define __G_FILE_ICON_H__
* Author: Alexander Larsson <alexl@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_FILE_INFO_H__
#define __G_FILE_INFO_H__
* Author: Alexander Larsson <alexl@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_FILE_INPUT_STREAM_H__
#define __G_FILE_INPUT_STREAM_H__
* Author: Alexander Larsson <alexl@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_FILE_MONITOR_H__
#define __G_FILE_MONITOR_H__
* Author: Alexander Larsson <alexl@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_FILENAME_COMPLETER_H__
#define __G_FILENAME_COMPLETER_H__
* Author: Alexander Larsson <alexl@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_FILE_OUTPUT_STREAM_H__
#define __G_FILE_OUTPUT_STREAM_H__
* Author: Christian Kellner <gicmo@gnome.org>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_FILTER_INPUT_STREAM_H__
#define __G_FILTER_INPUT_STREAM_H__
* Author: Christian Kellner <gicmo@gnome.org>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_FILTER_OUTPUT_STREAM_H__
#define __G_FILTER_OUTPUT_STREAM_H__
* Author: Alexander Larsson <alexl@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_ICON_H__
#define __G_ICON_H__
* Author: Alexander Larsson <alexl@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_INPUT_STREAM_H__
#define __G_INPUT_STREAM_H__
#ifndef __G_IO_H__
#define __G_IO_H__
+#define __GIO_GIO_H_INSIDE__
+
#include <gio/gvfs.h>
#include <gio/gfile.h>
#include <gio/gvolumemonitor.h>
#include <gio/gsimpleasyncresult.h>
#include <gio/gioenumtypes.h>
+#undef __GIO_GIO_H_INSIDE__
+
#endif /* __G_IO_H__ */
* Author: Alexander Larsson <alexl@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_IO_ERROR_H__
#define __G_IO_ERROR_H__
* Author: Alexander Larsson <alexl@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_IO_MODULE_H__
#define __G_IO_MODULE_H__
* Author: Alexander Larsson <alexl@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_IO_SCHEDULER_H__
#define __G_IO_SCHEDULER_H__
* Author: Alexander Larsson <alexl@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_LOADABLE_ICON_H__
#define __G_LOADABLE_ICON_H__
* Author: Christian Kellner <gicmo@gnome.org>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_MEMORY_INPUT_STREAM_H__
#define __G_MEMORY_INPUT_STREAM_H__
* Author: Christian Kellner <gicmo@gnome.org>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_MEMORY_OUTPUT_STREAM_H__
#define __G_MEMORY_OUTPUT_STREAM_H__
* David Zeuthen <davidz@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_MOUNT_H__
#define __G_MOUNT_H__
* Author: Alexander Larsson <alexl@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_MOUNT_OPERATION_H__
#define __G_MOUNT_OPERATION_H__
* Author: Alexander Larsson <alexl@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_OUTPUT_STREAM_H__
#define __G_OUTPUT_STREAM_H__
* Author: Alexander Larsson <alexl@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_SEEKABLE_H__
#define __G_SEEKABLE_H__
* Author: Alexander Larsson <alexl@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_SIMPLE_ASYNC_RESULT_H__
#define __G_SIMPLE_ASYNC_RESULT_H__
* Author: Alexander Larsson <alexl@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_THEMED_ICON_H__
#define __G_THEMED_ICON_H__
#ifndef __G_UNIX_INPUT_STREAM_H__
#define __G_UNIX_INPUT_STREAM_H__
-#include <gio/ginputstream.h>
+#include <gio/gio.h>
G_BEGIN_DECLS
#ifndef __G_UNIX_MOUNTS_H__
#define __G_UNIX_MOUNTS_H__
-#include <glib.h>
-#include <glib-object.h>
-#include <gio/gicon.h>
+#include <gio/gio.h>
G_BEGIN_DECLS
#ifndef __G_UNIX_OUTPUT_STREAM_H__
#define __G_UNIX_OUTPUT_STREAM_H__
-#include <gio/goutputstream.h>
+#include <gio/gio.h>
G_BEGIN_DECLS
* Author: Alexander Larsson <alexl@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_VFS_H__
#define __G_VFS_H__
* David Zeuthen <davidz@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_VOLUME_H__
#define __G_VOLUME_H__
* David Zeuthen <davidz@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_VOLUME_MONITOR_H__
#define __G_VOLUME_MONITOR_H__
-I$(top_srcdir)/gmodule \
-I$(top_srcdir)/gio \
-DGIO_MODULE_DIR=\"$(GIO_MODULE_DIR)\" \
+ -DGIO_COMPILATION \
-DG_DISABLE_DEPRECATED