[libchamplain] Correctly define abstract types
- From: Jiří Techet <jiritechet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libchamplain] Correctly define abstract types
- Date: Mon, 14 Feb 2011 23:22:37 +0000 (UTC)
commit 17c9e0a10891ef87a3ac185664f198ac3ae0f89d
Author: JiÅ?Ã Techet <techet gmail com>
Date: Sun Feb 13 12:01:25 2011 +0100
Correctly define abstract types
champlain/champlain-layer.c | 2 +-
champlain/champlain-map-source.c | 2 +-
champlain/champlain-marker.c | 2 +-
champlain/champlain-tile-cache.c | 2 +-
champlain/champlain-tile-source.c | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/champlain/champlain-layer.c b/champlain/champlain-layer.c
index 81fdd30..630d77f 100644
--- a/champlain/champlain-layer.c
+++ b/champlain/champlain-layer.c
@@ -26,7 +26,7 @@
#include "champlain-layer.h"
-G_DEFINE_TYPE (ChamplainLayer, champlain_layer, CLUTTER_TYPE_ACTOR)
+G_DEFINE_ABSTRACT_TYPE (ChamplainLayer, champlain_layer, CLUTTER_TYPE_ACTOR)
static void
champlain_layer_dispose (GObject *object)
diff --git a/champlain/champlain-map-source.c b/champlain/champlain-map-source.c
index f5400ce..9556b83 100644
--- a/champlain/champlain-map-source.c
+++ b/champlain/champlain-map-source.c
@@ -55,7 +55,7 @@
#include <math.h>
-G_DEFINE_TYPE (ChamplainMapSource, champlain_map_source, G_TYPE_INITIALLY_UNOWNED);
+G_DEFINE_ABSTRACT_TYPE (ChamplainMapSource, champlain_map_source, G_TYPE_INITIALLY_UNOWNED);
#define GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE ((obj), CHAMPLAIN_TYPE_MAP_SOURCE, ChamplainMapSourcePrivate))
diff --git a/champlain/champlain-marker.c b/champlain/champlain-marker.c
index df90e38..95841ee 100644
--- a/champlain/champlain-marker.c
+++ b/champlain/champlain-marker.c
@@ -72,7 +72,7 @@ enum
/* static guint champlain_marker_signals[LAST_SIGNAL] = { 0, }; */
-G_DEFINE_TYPE (ChamplainMarker, champlain_marker, CLUTTER_TYPE_ACTOR);
+G_DEFINE_ABSTRACT_TYPE (ChamplainMarker, champlain_marker, CLUTTER_TYPE_ACTOR);
#define CHAMPLAIN_MARKER_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE ((obj), CHAMPLAIN_TYPE_MARKER, ChamplainMarkerPrivate))
diff --git a/champlain/champlain-tile-cache.c b/champlain/champlain-tile-cache.c
index 776a798..fd6aa89 100644
--- a/champlain/champlain-tile-cache.c
+++ b/champlain/champlain-tile-cache.c
@@ -27,7 +27,7 @@
#include "champlain-tile-cache.h"
-G_DEFINE_TYPE (ChamplainTileCache, champlain_tile_cache, CHAMPLAIN_TYPE_MAP_SOURCE)
+G_DEFINE_ABSTRACT_TYPE (ChamplainTileCache, champlain_tile_cache, CHAMPLAIN_TYPE_MAP_SOURCE)
#define GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE ((obj), CHAMPLAIN_TYPE_TILE_CACHE, ChamplainTileCachePrivate))
diff --git a/champlain/champlain-tile-source.c b/champlain/champlain-tile-source.c
index f603892..557e303 100644
--- a/champlain/champlain-tile-source.c
+++ b/champlain/champlain-tile-source.c
@@ -28,7 +28,7 @@
#include "champlain-tile-source.h"
#include "champlain-enum-types.h"
-G_DEFINE_TYPE (ChamplainTileSource, champlain_tile_source, CHAMPLAIN_TYPE_MAP_SOURCE);
+G_DEFINE_ABSTRACT_TYPE (ChamplainTileSource, champlain_tile_source, CHAMPLAIN_TYPE_MAP_SOURCE);
#define GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), CHAMPLAIN_TYPE_TILE_SOURCE, ChamplainTileSourcePrivate))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]