]> git.pld-linux.org Git - packages/gamin.git/blob - gamin-glib.patch
- x32 rebuild
[packages/gamin.git] / gamin-glib.patch
1 --- gamin-0.1.10/server/gam_subscription.h~     2007-07-04 15:36:49.000000000 +0200
2 +++ gamin-0.1.10/server/gam_subscription.h      2012-12-12 13:11:32.054168714 +0100
3 @@ -21,7 +21,7 @@
4  
5  int                  gam_subscription_get_reqno    (GamSubscription *sub);
6  
7 -G_CONST_RETURN char *gam_subscription_get_path     (GamSubscription *sub);
8 +const char *gam_subscription_get_path     (GamSubscription *sub);
9  
10  GamListener         *gam_subscription_get_listener (GamSubscription *sub);
11  
12 --- gamin-0.1.10/server/gam_subscription.c~     2007-07-04 15:36:49.000000000 +0200
13 +++ gamin-0.1.10/server/gam_subscription.c      2012-12-12 13:12:01.167501021 +0100
14 @@ -141,7 +141,7 @@
15   * @param sub the GamSubscription
16   * @returns The path being monitored.  It should not be freed.
17   */
18 -G_CONST_RETURN char *
19 +const char *
20  gam_subscription_get_path(GamSubscription * sub)
21  {
22      if (sub == NULL)
23 --- gamin-0.1.10/server/gam_node.h~     2007-07-04 15:36:49.000000000 +0200
24 +++ gamin-0.1.10/server/gam_node.h      2012-12-12 13:12:26.337500133 +0100
25 @@ -58,7 +58,7 @@
26  void                  gam_node_set_is_dir          (GamNode         *node,
27                                                    gboolean        is_dir);
28         
29 -G_CONST_RETURN char  *gam_node_get_path            (GamNode         *node);
30 +const char  *gam_node_get_path            (GamNode         *node);
31  
32  GList                *gam_node_get_subscriptions   (GamNode         *node);
33  
34 --- gamin-0.1.10/server/gam_node.c~     2007-07-04 15:36:49.000000000 +0200
35 +++ gamin-0.1.10/server/gam_node.c      2012-12-12 13:12:40.917499618 +0100
36 @@ -122,7 +122,7 @@
37   * it has finished with the string.  If it must keep it longer, it
38   * should makes its own copy.  The returned string must not be freed.
39   */
40 -G_CONST_RETURN char *
41 +const char *
42  gam_node_get_path(GamNode * node)
43  {
44      g_assert(node);
This page took 0.211082 seconds and 3 git commands to generate.