[gnome-commander] Drop unnecessary casting
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] Drop unnecessary casting
- Date: Fri, 9 Sep 2011 20:55:44 +0000 (UTC)
commit 94bcac3864c3d01414235ccb9b8f3ce8627a0085
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Fri Sep 9 22:55:23 2011 +0200
Drop unnecessary casting
src/gnome-cmd-smb-auth.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-cmd-smb-auth.cc b/src/gnome-cmd-smb-auth.cc
index 5f80202..e614a14 100644
--- a/src/gnome-cmd-smb-auth.cc
+++ b/src/gnome-cmd-smb-auth.cc
@@ -47,7 +47,7 @@ vfs_full_authentication_callback (const GnomeVFSModuleCallbackFullAuthentication
gnome_password_dialog_set_show_userpass_buttons (dlg, in_args->flags & GNOME_VFS_MODULE_CALLBACK_FULL_AUTHENTICATION_ANON_SUPPORTED);
gnome_password_dialog_set_show_password (dlg, in_args->flags & GNOME_VFS_MODULE_CALLBACK_FULL_AUTHENTICATION_NEED_PASSWORD);
- out_args->abort_auth = gnome_password_dialog_run_and_block (GNOME_PASSWORD_DIALOG (dlg)) == FALSE;
+ out_args->abort_auth = gnome_password_dialog_run_and_block (dlg) == FALSE;
if (out_args->abort_auth)
return;
@@ -62,5 +62,5 @@ void gnome_cmd_smb_auth_init ()
{
gnome_vfs_module_callback_set_default (GNOME_VFS_MODULE_CALLBACK_FULL_AUTHENTICATION,
(GnomeVFSModuleCallback) vfs_full_authentication_callback,
- GINT_TO_POINTER (0), NULL);
+ NULL, NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]