diff options
author | John (J5) Palmieri <johnp@redhat.com> | 2006-10-19 19:43:05 +0000 |
---|---|---|
committer | John (J5) Palmieri <johnp@redhat.com> | 2006-10-19 19:43:05 +0000 |
commit | fe1f793a4f8296fb00d409a4a52b12ed7526caac (patch) | |
tree | 7368703202421dc436a438389261c43bb1233b4e /bus/dir-watch-default.c | |
parent | eb357c5ff9a36bafe608707a7df933fe228d2ba6 (diff) | |
download | dbus-fe1f793a4f8296fb00d409a4a52b12ed7526caac.tar.gz dbus-fe1f793a4f8296fb00d409a4a52b12ed7526caac.tar.bz2 dbus-fe1f793a4f8296fb00d409a4a52b12ed7526caac.zip |
* bus/dir-watch-default.c, bus/dir-watch-dnotify.c,
bus/dir-watch-kqueue.c (bus_watch_directory): Pass in a BusContext
instead of a void *. kqueue uses this to get the context's loop
while the other modules ignore the parameter. This allows us to
avoid platform conditionals
* bus/bus.c (process_config_postinit): Pass in the context to the
watch
Diffstat (limited to 'bus/dir-watch-default.c')
-rw-r--r-- | bus/dir-watch-default.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bus/dir-watch-default.c b/bus/dir-watch-default.c index 5dc159ca..b73c6175 100644 --- a/bus/dir-watch-default.c +++ b/bus/dir-watch-default.c @@ -35,6 +35,6 @@ bus_drop_all_directory_watches (void) } void -bus_watch_directory (const char *dir, void *userdata) +bus_watch_directory (const char *dir, BusContext *context) { } |