[glib] inotify: Constify function argument



commit 284ea16b9d94b28b632063333140b99e419d6b0a
Author: Benjamin Otte <otte redhat com>
Date:   Thu Jul 22 20:23:04 2010 +0200

    inotify: Constify function argument
    
    gcc complained...

 gio/inotify/inotify-helper.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/inotify/inotify-helper.c b/gio/inotify/inotify-helper.c
index b53f011..f567e1b 100644
--- a/gio/inotify/inotify-helper.c
+++ b/gio/inotify/inotify-helper.c
@@ -135,7 +135,7 @@ _ih_sub_cancel (inotify_sub *sub)
 }
 
 static char *
-_ih_fullpath_from_event (ik_event_t *event, char *dirname)
+_ih_fullpath_from_event (ik_event_t *event, const char *dirname)
 {
   char *fullpath;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]