From: Emmanuel Rodriguez Date: Sat, 11 Jul 2009 16:18:22 +0000 (+0200) Subject: Use gchar instead of char for champlain_tile_get_modified_time_string and champlain_t... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a430e262c8d9a9739166b7ea9a23d9b94646a71c;p=libchamplain Use gchar instead of char for champlain_tile_get_modified_time_string and champlain_tile_get_etag --- diff --git a/champlain/champlain-tile.c b/champlain/champlain-tile.c index c3734b0..318be9d 100644 --- a/champlain/champlain-tile.c +++ b/champlain/champlain-tile.c @@ -768,7 +768,7 @@ champlain_tile_set_modified_time (ChamplainTile *self, * * Since: 0.4 */ -char * +gchar * champlain_tile_get_modified_time_string (ChamplainTile *self) { g_return_val_if_fail(CHAMPLAIN_TILE(self), NULL); @@ -793,7 +793,7 @@ champlain_tile_get_modified_time_string (ChamplainTile *self) * * Since: 0.4 */ -const char * +const gchar * champlain_tile_get_etag (ChamplainTile *self) { g_return_val_if_fail(CHAMPLAIN_TILE(self), ""); diff --git a/champlain/champlain-tile.h b/champlain/champlain-tile.h index 1ce431d..095f324 100644 --- a/champlain/champlain-tile.h +++ b/champlain/champlain-tile.h @@ -69,8 +69,8 @@ G_CONST_RETURN gchar * champlain_tile_get_filename (ChamplainTile *self); ClutterActor * champlain_tile_get_actor (ChamplainTile *self); ClutterActor * champlain_tile_get_content (ChamplainTile *self); const GTimeVal * champlain_tile_get_modified_time (ChamplainTile *self); -char * champlain_tile_get_modified_time_string (ChamplainTile *self); -const char * champlain_tile_get_etag (ChamplainTile *self); +gchar * champlain_tile_get_modified_time_string (ChamplainTile *self); +const gchar * champlain_tile_get_etag (ChamplainTile *self); void champlain_tile_set_x (ChamplainTile *self, gint x);