Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 382783
Collapse All | Expand All

(-)a/server/gam_node.c (-1 / +1 lines)
Lines 122-128 gam_node_set_is_dir(GamNode * node, gboolean is_dir) Link Here
122
 * it has finished with the string.  If it must keep it longer, it
122
 * it has finished with the string.  If it must keep it longer, it
123
 * should makes its own copy.  The returned string must not be freed.
123
 * should makes its own copy.  The returned string must not be freed.
124
 */
124
 */
125
G_CONST_RETURN char *
125
const char *
126
gam_node_get_path(GamNode * node)
126
gam_node_get_path(GamNode * node)
127
{
127
{
128
    g_assert(node);
128
    g_assert(node);
(-)a/server/gam_node.h (-1 / +1 lines)
Lines 58-64 gboolean gam_node_is_dir (GamNode *node); Link Here
58
void                  gam_node_set_is_dir          (GamNode         *node,
58
void                  gam_node_set_is_dir          (GamNode         *node,
59
						   gboolean        is_dir);
59
						   gboolean        is_dir);
60
	
60
	
61
G_CONST_RETURN char  *gam_node_get_path            (GamNode         *node);
61
const char           *gam_node_get_path            (GamNode         *node);
62
62
63
GList                *gam_node_get_subscriptions   (GamNode         *node);
63
GList                *gam_node_get_subscriptions   (GamNode         *node);
64
64
(-)a/server/gam_subscription.c (-1 / +1 lines)
Lines 141-147 gam_subscription_pathlen(GamSubscription * sub) Link Here
141
 * @param sub the GamSubscription
141
 * @param sub the GamSubscription
142
 * @returns The path being monitored.  It should not be freed.
142
 * @returns The path being monitored.  It should not be freed.
143
 */
143
 */
144
G_CONST_RETURN char *
144
const char *
145
gam_subscription_get_path(GamSubscription * sub)
145
gam_subscription_get_path(GamSubscription * sub)
146
{
146
{
147
    if (sub == NULL)
147
    if (sub == NULL)
(-)a/server/gam_subscription.h (-2 / +1 lines)
Lines 21-27 int gam_subscription_pathlen (GamSubscription *sub); Link Here
21
21
22
int                  gam_subscription_get_reqno    (GamSubscription *sub);
22
int                  gam_subscription_get_reqno    (GamSubscription *sub);
23
23
24
G_CONST_RETURN char *gam_subscription_get_path     (GamSubscription *sub);
24
const char          *gam_subscription_get_path     (GamSubscription *sub);
25
25
26
GamListener         *gam_subscription_get_listener (GamSubscription *sub);
26
GamListener         *gam_subscription_get_listener (GamSubscription *sub);
27
27
28
- 

Return to bug 382783