summaryrefslogtreecommitdiff
path: root/programs/gvfs-mount.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2007-12-14 11:15:09 +0000
committerAlexander Larsson <alexl@src.gnome.org>2007-12-14 11:15:09 +0000
commit13b389addd8ac5fb2dde7fc7b025adb509f8ac67 (patch)
tree127100f9b8d20c20bc30a929d0e2db6d0b247782 /programs/gvfs-mount.c
parentdb4f9fdf90d0119df088ae559d482c3ae9eca299 (diff)
downloadgvfs-13b389addd8ac5fb2dde7fc7b025adb509f8ac67.tar.gz
Update to new gio flag enum types/values
2007-12-14 Alexander Larsson <alexl@redhat.com> * client/gdaemonfile.c: * common/gmountsource.c: * common/gmountsource.h: * daemon/gvfsbackendsftp.c: * daemon/gvfsbackendsmb.c: * programs/gvfs-info.c: * programs/gvfs-monitor-dir.c: * programs/gvfs-monitor-file.c: * programs/gvfs-mount.c: * programs/gvfs-save.c: * test/benchmark-gvfs-big-files.c: * test/benchmark-gvfs-small-files.c: Update to new gio flag enum types/values svn path=/trunk/; revision=1040
Diffstat (limited to 'programs/gvfs-mount.c')
-rw-r--r--programs/gvfs-mount.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/programs/gvfs-mount.c b/programs/gvfs-mount.c
index 4a738bf8..86bd0ed5 100644
--- a/programs/gvfs-mount.c
+++ b/programs/gvfs-mount.c
@@ -68,26 +68,26 @@ ask_password_cb (GMountOperation *op,
const char *message,
const char *default_user,
const char *default_domain,
- GPasswordFlags flags)
+ GAskPasswordFlags flags)
{
char *s;
g_print ("%s\n", message);
- if (flags & G_PASSWORD_FLAGS_NEED_USERNAME)
+ if (flags & G_ASK_PASSWORD_NEED_USERNAME)
{
s = prompt_for ("User", default_user);
g_mount_operation_set_username (op, s);
g_free (s);
}
- if (flags & G_PASSWORD_FLAGS_NEED_DOMAIN)
+ if (flags & G_ASK_PASSWORD_NEED_DOMAIN)
{
s = prompt_for ("Domain", default_domain);
g_mount_operation_set_domain (op, s);
g_free (s);
}
- if (flags & G_PASSWORD_FLAGS_NEED_PASSWORD)
+ if (flags & G_ASK_PASSWORD_NEED_PASSWORD)
{
s = prompt_for ("Password", NULL);
g_mount_operation_set_password (op, s);