From: Debarshi Ray Date: Sat, 17 Oct 2009 08:06:15 +0000 (-0400) Subject: Fix 597272: Adjust the ZoomLevel typedefs to keep the C++ bindings happy X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11ab10bc8c31c4619c20b9d7c2ff51553579a1d1;p=libchamplain Fix 597272: Adjust the ZoomLevel typedefs to keep the C++ bindings happy --- 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);