summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-09-19 10:04:57 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-09-19 10:04:57 +0200
commit7b4979cffd2041e51cb623a5fb7644fb1f859eee (patch)
treeff23f36111dd406a42b2fc981169f0fe2d162e05
parent2723b1d644d72c535381a1da346e929d22e90369 (diff)
downloadlibuca-7b4979cffd2041e51cb623a5fb7644fb1f859eee.tar.gz
libuca-7b4979cffd2041e51cb623a5fb7644fb1f859eee.tar.bz2
libuca-7b4979cffd2041e51cb623a5fb7644fb1f859eee.tar.xz
libuca-7b4979cffd2041e51cb623a5fb7644fb1f859eee.zip
Add G_BEGIN/END_DECL to fix #131
-rw-r--r--src/cameras/uca-mock-camera.h4
-rw-r--r--src/cameras/uca-pco-camera.h4
-rw-r--r--src/cameras/uca-pf-camera.h4
-rw-r--r--src/cameras/uca-ufo-camera.h4
4 files changed, 16 insertions, 0 deletions
diff --git a/src/cameras/uca-mock-camera.h b/src/cameras/uca-mock-camera.h
index aa196db..92030f8 100644
--- a/src/cameras/uca-mock-camera.h
+++ b/src/cameras/uca-mock-camera.h
@@ -21,6 +21,8 @@
#include <glib-object.h>
#include "uca-camera.h"
+G_BEGIN_DECLS
+
#define UCA_TYPE_MOCK_CAMERA (uca_mock_camera_get_type())
#define UCA_MOCK_CAMERA(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), UCA_TYPE_MOCK_CAMERA, UcaMockCamera))
#define UCA_IS_MOCK_CAMERA(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), UCA_TYPE_MOCK_CAMERA))
@@ -60,4 +62,6 @@ UcaMockCamera *uca_mock_camera_new(GError **error);
GType uca_mock_camera_get_type(void);
+G_END_DECLS
+
#endif
diff --git a/src/cameras/uca-pco-camera.h b/src/cameras/uca-pco-camera.h
index 87f4277..fdb709a 100644
--- a/src/cameras/uca-pco-camera.h
+++ b/src/cameras/uca-pco-camera.h
@@ -21,6 +21,8 @@
#include <glib-object.h>
#include "uca-camera.h"
+G_BEGIN_DECLS
+
#define UCA_TYPE_PCO_CAMERA (uca_pco_camera_get_type())
#define UCA_PCO_CAMERA(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), UCA_TYPE_PCO_CAMERA, UcaPcoCamera))
#define UCA_IS_PCO_CAMERA(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), UCA_TYPE_PCO_CAMERA))
@@ -86,4 +88,6 @@ UcaPcoCamera *uca_pco_camera_new(GError **error);
GType uca_pco_camera_get_type(void);
+G_END_DECLS
+
#endif
diff --git a/src/cameras/uca-pf-camera.h b/src/cameras/uca-pf-camera.h
index 11ac55a..7e3fe2c 100644
--- a/src/cameras/uca-pf-camera.h
+++ b/src/cameras/uca-pf-camera.h
@@ -21,6 +21,8 @@
#include <glib-object.h>
#include "uca-camera.h"
+G_BEGIN_DECLS
+
#define UCA_TYPE_PF_CAMERA (uca_pf_camera_get_type())
#define UCA_PF_CAMERA(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), UCA_TYPE_PF_CAMERA, UcaPfCamera))
#define UCA_IS_PF_CAMERA(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), UCA_TYPE_PF_CAMERA))
@@ -69,4 +71,6 @@ UcaPfCamera *uca_pf_camera_new(GError **error);
GType uca_pf_camera_get_type(void);
+G_END_DECLS
+
#endif
diff --git a/src/cameras/uca-ufo-camera.h b/src/cameras/uca-ufo-camera.h
index e97eb17..0b52ffb 100644
--- a/src/cameras/uca-ufo-camera.h
+++ b/src/cameras/uca-ufo-camera.h
@@ -21,6 +21,8 @@
#include <glib-object.h>
#include "uca-camera.h"
+G_BEGIN_DECLS
+
#define UCA_TYPE_UFO_CAMERA (uca_ufo_camera_get_type())
#define UCA_UFO_CAMERA(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), UCA_TYPE_UFO_CAMERA, UcaUfoCamera))
#define UCA_IS_UFO_CAMERA(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), UCA_TYPE_UFO_CAMERA))
@@ -71,4 +73,6 @@ UcaUfoCamera *uca_ufo_camera_new(GError **error);
GType uca_ufo_camera_get_type(void);
+G_END_DECLS
+
#endif