[dia] [api] C++ guards for more lib/attributes.h and lib/create.h
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] [api] C++ guards for more lib/attributes.h and lib/create.h
- Date: Sun, 14 Oct 2012 13:26:55 +0000 (UTC)
commit 8e5a829775f5c3b3faf80b7211aed74c5782141c
Author: Hans Breuer <hans breuer org>
Date: Fri Oct 12 12:28:48 2012 +0200
[api] C++ guards for more lib/attributes.h and lib/create.h
lib/attributes.h | 4 ++++
lib/create.h | 7 +++++++
2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/lib/attributes.h b/lib/attributes.h
index 51d0f88..490b06d 100644
--- a/lib/attributes.h
+++ b/lib/attributes.h
@@ -24,6 +24,8 @@
#include "arrows.h"
#include "font.h"
+G_BEGIN_DECLS
+
Color attributes_get_foreground(void);
Color attributes_get_background(void);
void attributes_set_foreground(Color *color);
@@ -46,4 +48,6 @@ void attributes_set_default_line_style(LineStyle style, real dash_length);
void attributes_get_default_font(DiaFont **font, real *font_height);
void attributes_set_default_font(DiaFont *font, real font_height);
+G_END_DECLS
+
#endif /* ATTRIBUTES_H */
diff --git a/lib/create.h b/lib/create.h
index 11ae917..7278e0f 100644
--- a/lib/create.h
+++ b/lib/create.h
@@ -31,6 +31,10 @@
#include "diatypes.h"
+#include <glib.h>
+
+G_BEGIN_DECLS
+
/*!
* \brief Can be used as extra parameter at create. Usually discouraged, you can set via StdProp API
* \ingroup ObjectCreate
@@ -134,4 +138,7 @@ DiaObject *create_standard_image(real xpos, real ypos, real width, real height,
* \ingroup ObjectCreate
*/
DiaObject *create_standard_group(GList *items);
+
+G_END_DECLS
+
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]