[libchamplain/libchamplain-0-4: 9/10] Fix 597272: Adjust the ZoomLevel typedefs to keep the C++ bindings happy
- From: Pierre-Luc Beaudoin <plbeaudoin src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libchamplain/libchamplain-0-4: 9/10] Fix 597272: Adjust the ZoomLevel typedefs to keep the C++ bindings happy
- Date: Sat, 17 Oct 2009 08:32:12 +0000 (UTC)
commit 11ab10bc8c31c4619c20b9d7c2ff51553579a1d1
Author: Debarshi Ray <rishi gnu org>
Date: Sat Oct 17 04:06:15 2009 -0400
Fix 597272: Adjust the ZoomLevel typedefs to keep the C++ bindings happy
champlain/champlain-zoom-level.h | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/champlain/champlain-zoom-level.h b/champlain/champlain-zoom-level.h
index 0228158..bf17c00 100644
--- a/champlain/champlain-zoom-level.h
+++ b/champlain/champlain-zoom-level.h
@@ -45,14 +45,17 @@ G_BEGIN_DECLS
typedef struct _ChamplainZoomLevelPrivate ChamplainZoomLevelPrivate;
-typedef struct {
+typedef struct _ChamplainZoomLevel ChamplainZoomLevel;
+typedef struct _ChamplainZoomLevelClass ChamplainZoomLevelClass;
+
+struct _ChamplainZoomLevel{
GObject parent;
ChamplainZoomLevelPrivate *priv;
-} ChamplainZoomLevel;
+};
-typedef struct {
+struct _ChamplainZoomLevelClass{
GObjectClass parent_class;
-} ChamplainZoomLevelClass;
+};
GType champlain_zoom_level_get_type (void);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]