diff -Naur gamin-0.1.10/server/gam_node.c gamin-0.1.10-fixed/server/gam_node.c --- gamin-0.1.10/server/gam_node.c 2007-07-04 15:36:49.000000000 +0200 +++ gamin-0.1.10-fixed/server/gam_node.c 2012-10-15 22:30:44.368983206 +0200 @@ -122,7 +122,7 @@ * it has finished with the string. If it must keep it longer, it * should makes its own copy. The returned string must not be freed. */ -G_CONST_RETURN char * +const char * gam_node_get_path(GamNode * node) { g_assert(node); diff -Naur gamin-0.1.10/server/gam_node.h gamin-0.1.10-fixed/server/gam_node.h --- gamin-0.1.10/server/gam_node.h 2007-07-04 15:36:49.000000000 +0200 +++ gamin-0.1.10-fixed/server/gam_node.h 2012-10-15 22:31:27.629983204 +0200 @@ -58,7 +58,7 @@ void gam_node_set_is_dir (GamNode *node, gboolean is_dir); -G_CONST_RETURN char *gam_node_get_path (GamNode *node); +const char *gam_node_get_path (GamNode *node); GList *gam_node_get_subscriptions (GamNode *node); diff -Naur gamin-0.1.10/server/gam_subscription.c gamin-0.1.10-fixed/server/gam_subscription.c --- gamin-0.1.10/server/gam_subscription.c 2007-07-04 15:36:49.000000000 +0200 +++ gamin-0.1.10-fixed/server/gam_subscription.c 2012-10-15 22:31:09.911983206 +0200 @@ -141,7 +141,7 @@ * @param sub the GamSubscription * @returns The path being monitored. It should not be freed. */ -G_CONST_RETURN char * +const char * gam_subscription_get_path(GamSubscription * sub) { if (sub == NULL) diff -Naur gamin-0.1.10/server/gam_subscription.h gamin-0.1.10-fixed/server/gam_subscription.h --- gamin-0.1.10/server/gam_subscription.h 2007-07-04 15:36:49.000000000 +0200 +++ gamin-0.1.10-fixed/server/gam_subscription.h 2012-10-15 22:32:01.425983206 +0200 @@ -21,7 +21,7 @@ int gam_subscription_get_reqno (GamSubscription *sub); -G_CONST_RETURN char *gam_subscription_get_path (GamSubscription *sub); +const char *gam_subscription_get_path (GamSubscription *sub); GamListener *gam_subscription_get_listener (GamSubscription *sub);