[libchamplain] Remove const in champlain_map_source_desc_get_constructor()
- From: Jiří Techet <jiritechet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libchamplain] Remove const in champlain_map_source_desc_get_constructor()
- Date: Thu, 17 Feb 2011 22:51:29 +0000 (UTC)
commit e7bcdc3ddb73ab182380ce3a27dd57239dd67ce8
Author: JiÅ?Ã Techet <techet gmail com>
Date: Thu Feb 17 22:44:03 2011 +0100
Remove const in champlain_map_source_desc_get_constructor()
Thanks to Guillaume Desmottes
champlain/champlain-map-source-desc.c | 2 +-
champlain/champlain-map-source-desc.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/champlain/champlain-map-source-desc.c b/champlain/champlain-map-source-desc.c
index 2be7f13..c36fab3 100644
--- a/champlain/champlain-map-source-desc.c
+++ b/champlain/champlain-map-source-desc.c
@@ -687,7 +687,7 @@ champlain_map_source_desc_get_data (ChamplainMapSourceDesc *desc)
*
* Since: 0.10
*/
-const ChamplainMapSourceConstructor
+ChamplainMapSourceConstructor
champlain_map_source_desc_get_constructor (ChamplainMapSourceDesc *desc)
{
g_return_val_if_fail (CHAMPLAIN_IS_MAP_SOURCE_DESC (desc), NULL);
diff --git a/champlain/champlain-map-source-desc.h b/champlain/champlain-map-source-desc.h
index e001007..4110286 100644
--- a/champlain/champlain-map-source-desc.h
+++ b/champlain/champlain-map-source-desc.h
@@ -103,7 +103,7 @@ guint champlain_map_source_desc_get_max_zoom_level (ChamplainMapSourceDesc *desc
guint champlain_map_source_desc_get_tile_size (ChamplainMapSourceDesc *desc);
ChamplainMapProjection champlain_map_source_desc_get_projection (ChamplainMapSourceDesc *desc);
gpointer champlain_map_source_desc_get_data (ChamplainMapSourceDesc *desc);
-const ChamplainMapSourceConstructor champlain_map_source_desc_get_constructor (ChamplainMapSourceDesc *desc);
+ChamplainMapSourceConstructor champlain_map_source_desc_get_constructor (ChamplainMapSourceDesc *desc);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]