[dia] [api] more specific include guard DIA_OBJECT_H
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] [api] more specific include guard DIA_OBJECT_H
- Date: Sun, 14 Oct 2012 13:26:45 +0000 (UTC)
commit 6f029b852779a163fe4d77bca39e6267e9d0d988
Author: Hans Breuer <hans breuer org>
Date: Fri Oct 12 12:22:13 2012 +0200
[api] more specific include guard DIA_OBJECT_H
to avoid collisions with other unspecific library APIs,
e.g. poppler
lib/object.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/lib/object.h b/lib/object.h
index 5ab0ab2..0c2b104 100644
--- a/lib/object.h
+++ b/lib/object.h
@@ -19,8 +19,8 @@
/** @file object.h -- definitions for Dia objects, in particular the 'virtual'
* functions and the object and type structures.
*/
-#ifndef OBJECT_H
-#define OBJECT_H
+#ifndef DIA_OBJECT_H
+#define DIA_OBJECT_H
#include "diatypes.h"
#include <gtk/gtk.h>
@@ -604,6 +604,6 @@ void object_copy_props(DiaObject *dest, const DiaObject *src,
G_END_DECLS
-#endif /* OBJECT_H */
+#endif /* DIA_OBJECT_H */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]