summaryrefslogtreecommitdiff
path: root/daemon/dbus-gmain.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2008-02-19 09:41:06 +0000
committerAlexander Larsson <alexl@src.gnome.org>2008-02-19 09:41:06 +0000
commitb64547deb808046b8bac687242ab777c0bf0d73a (patch)
tree3c7b9cb07e93beabc2f2efbe879ee279a525c449 /daemon/dbus-gmain.c
parent31a620e564b9edb751c19c71193ca73123faddb4 (diff)
downloadgvfs-b64547deb808046b8bac687242ab777c0bf0d73a.tar.gz
Code cleanup from Kjartan: Removes unused code/variables. Uses right
2008-02-19 Alexander Larsson <alexl@redhat.com> * lots of *.c files: Code cleanup from Kjartan: Removes unused code/variables. Uses right printf types Uses non-deprecated dbus calls. Removes spurious ; and , deleted extra checks for NULL for g_free svn path=/trunk/; revision=1302
Diffstat (limited to 'daemon/dbus-gmain.c')
-rw-r--r--daemon/dbus-gmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/dbus-gmain.c b/daemon/dbus-gmain.c
index d72a0621..52ca6412 100644
--- a/daemon/dbus-gmain.c
+++ b/daemon/dbus-gmain.c
@@ -291,7 +291,7 @@ connection_setup_add_watch (ConnectionSetup *cs,
handler->cs = cs;
handler->watch = watch;
- channel = g_io_channel_unix_new (dbus_watch_get_fd (watch));
+ channel = g_io_channel_unix_new (dbus_watch_get_unix_fd (watch));
handler->source = g_io_create_watch (channel, condition);
g_source_set_callback (handler->source, (GSourceFunc) io_handler_dispatch, handler,