]> err.no Git - libchamplain/commitdiff
Fix 597272: Adjust the ZoomLevel typedefs to keep the C++ bindings happy
authorDebarshi Ray <rishi@gnu.org>
Sat, 17 Oct 2009 08:06:15 +0000 (04:06 -0400)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Sat, 17 Oct 2009 08:07:42 +0000 (04:07 -0400)
champlain/champlain-zoom-level.h

index 02281585837be084c01826d85afb2b36312104af..bf17c00bfca2752deec22bc7e25c35f05fa0b689 100644 (file)
@@ -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);