summaryrefslogtreecommitdiff
path: root/gobject/gclosure.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-11-22 18:55:06 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-11-22 18:55:06 +0000
commite767aa0a4fad23c766b3bf16a079e8e7c5b4c448 (patch)
tree6520c0f3e8232aeaa532e5524305664d3d764844 /gobject/gclosure.h
parentb9f59f0f9de8eebc5a30ed87af59e9586a730c61 (diff)
Improve the detection of invalid includes by moving the test outside the
Mon Nov 19 14:35:56 2001 Owen Taylor <otaylor@redhat.com> * *.h: Improve the detection of invalid includes by moving the test outside the duplicate include guards. * gsourceclosure.c (g_source_set_closure): Doc fix.
Diffstat (limited to 'gobject/gclosure.h')
-rw-r--r--gobject/gclosure.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gobject/gclosure.h b/gobject/gclosure.h
index aa605404d..6dd67c6c4 100644
--- a/gobject/gclosure.h
+++ b/gobject/gclosure.h
@@ -16,13 +16,13 @@
* Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307, USA.
*/
-#ifndef __G_CLOSURE_H__
-#define __G_CLOSURE_H__
-
#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)
#error "Only <glib-object.h> can be included directly."
#endif
+#ifndef __G_CLOSURE_H__
+#define __G_CLOSURE_H__
+
#include <gobject/gtype.h>
G_BEGIN_DECLS