1 G_CONST_RETURN is deprecated in glib 2.30 so remove to to avoid
4 Upstream-Status: Pending
6 Index: gamin-0.1.10/server/gam_node.c
7 ===================================================================
8 --- gamin-0.1.10.orig/server/gam_node.c 2011-10-12 15:25:45.217178314 +0100
9 +++ gamin-0.1.10/server/gam_node.c 2011-10-12 15:26:17.807178293 +0100
11 * it has finished with the string. If it must keep it longer, it
12 * should makes its own copy. The returned string must not be freed.
14 -G_CONST_RETURN char *
16 gam_node_get_path(GamNode * node)
19 Index: gamin-0.1.10/server/gam_node.h
20 ===================================================================
21 --- gamin-0.1.10.orig/server/gam_node.h 2011-10-12 15:25:46.857178269 +0100
22 +++ gamin-0.1.10/server/gam_node.h 2011-10-12 15:26:28.637178297 +0100
24 void gam_node_set_is_dir (GamNode *node,
27 -G_CONST_RETURN char *gam_node_get_path (GamNode *node);
28 +const char *gam_node_get_path (GamNode *node);
30 GList *gam_node_get_subscriptions (GamNode *node);
32 Index: gamin-0.1.10/server/gam_subscription.c
33 ===================================================================
34 --- gamin-0.1.10.orig/server/gam_subscription.c 2011-10-12 15:25:40.497177525 +0100
35 +++ gamin-0.1.10/server/gam_subscription.c 2011-10-12 15:26:39.867178304 +0100
37 * @param sub the GamSubscription
38 * @returns The path being monitored. It should not be freed.
40 -G_CONST_RETURN char *
42 gam_subscription_get_path(GamSubscription * sub)
45 Index: gamin-0.1.10/server/gam_subscription.h
46 ===================================================================
47 --- gamin-0.1.10.orig/server/gam_subscription.h 2011-10-12 15:25:28.507178266 +0100
48 +++ gamin-0.1.10/server/gam_subscription.h 2011-10-12 15:25:58.817178285 +0100
51 int gam_subscription_get_reqno (GamSubscription *sub);
53 -G_CONST_RETURN char *gam_subscription_get_path (GamSubscription *sub);
54 +const char *gam_subscription_get_path (GamSubscription *sub);
56 GamListener *gam_subscription_get_listener (GamSubscription *sub);