diff options
author | Alexander Larsson <alexl@redhat.com> | 2007-11-16 10:20:13 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2007-11-16 10:20:13 +0000 |
commit | 19b292e9d654286e4586f94d92ea2262f4d81af1 (patch) | |
tree | c2e0327ff6a7bf635527cd8ecb217e529407de99 /common | |
parent | 9fcf3c766bd2a85ccf01a67c4dfac4e491ca3c56 (diff) | |
download | gvfs-19b292e9d654286e4586f94d92ea2262f4d81af1.tar.gz |
Code cleanups from Kjartan Maraas.
2007-11-16 Alexander Larsson <alexl@redhat.com>
* client/gdaemonfile.c:
* client/gdaemonfileinputstream.c:
* client/gdaemonfileoutputstream.c:
* client/smburi.c:
* common/gdbusutils.c:
* common/gmountsource.c:
* daemon/gvfsbackendftp.c:
* daemon/gvfsbackendtrash.c:
* daemon/gvfsdaemon.c:
* daemon/gvfsjob.c:
* daemon/gvfsjobdbus.c:
* daemon/gvfsjobopenforwrite.h:
* daemon/mount.c:
* daemon/pty_open.c:
* test/benchmark-gvfs-big-files.c:
* test/benchmark-gvfs-small-files.c:
* test/benchmark-posix-small-files.c:
Code cleanups from Kjartan Maraas.
svn path=/trunk/; revision=1031
Diffstat (limited to 'common')
-rw-r--r-- | common/gdbusutils.c | 2 | ||||
-rw-r--r-- | common/gmountsource.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/common/gdbusutils.c b/common/gdbusutils.c index be26c187..e023c126 100644 --- a/common/gdbusutils.c +++ b/common/gdbusutils.c @@ -1070,7 +1070,7 @@ wakeup_main (void *data) static const GSourceFuncs dbus_source_funcs = { dbus_source_prepare, dbus_source_check, - dbus_source_dispatch, + dbus_source_dispatch }; /* Called when the connection dies or when we're unintegrating from mainloop */ diff --git a/common/gmountsource.c b/common/gmountsource.c index 8bdcfad0..34f27b06 100644 --- a/common/gmountsource.c +++ b/common/gmountsource.c @@ -189,7 +189,7 @@ g_mount_source_ask_password (GMountSource *source, { DBusMessage *message; guint32 flags_as_int; - AskPasswordData data = {0}; + AskPasswordData data = {NULL}; if (password_out) *password_out = NULL; |