From 11ab10bc8c31c4619c20b9d7c2ff51553579a1d1 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Sat, 17 Oct 2009 04:06:15 -0400 Subject: [PATCH] Fix 597272: Adjust the ZoomLevel typedefs to keep the C++ bindings happy --- champlain/champlain-zoom-level.h | 11 +++++++---- 1 file 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); -- 2.39.5