diff options
Diffstat (limited to 'UGnome.pas')
| -rw-r--r-- | UGnome.pas | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -161,9 +161,9 @@ function HandleVFSAskPasswordCallback(DialogParent: PGtkWidget; flags: TVFSAskPasswordFlags; username: PPChar; password: PPChar; - anonymous: PInteger; + anonymous: Pgboolean; domain: PPChar; - password_save: PVFSPasswordSave): LongBool; + password_save: PVFSPasswordSave): gboolean; @@ -1351,9 +1351,9 @@ function HandleVFSAskPasswordCallback(DialogParent: PGtkWidget; flags: TVFSAskPasswordFlags; username: PPChar; password: PPChar; - anonymous: PInteger; + anonymous: Pgboolean; domain: PPChar; - password_save: PVFSPasswordSave): LongBool; + password_save: PVFSPasswordSave): gboolean; function table_add_entry(table: PGtkWidget; row: integer; const label_text: PChar; const value: PChar; user_data: PVFSAskPasswordCallbackPriv): PGtkEntry; var entry: PGtkEntry; @@ -1537,7 +1537,7 @@ begin if (priv.username_entry <> nil) and (username <> nil) then username^ := g_strdup(gtk_entry_get_text(priv.username_entry)); if (priv.domain_entry <> nil) and (domain <> nil) then domain^ := g_strdup(gtk_entry_get_text(priv.domain_entry)); if (priv.password_entry <> nil) and (password <> nil) then password^ := g_strdup(gtk_entry_get_text(priv.password_entry)); - if (priv.choice_anon <> nil) and (anonymous <> nil) then anonymous^ := Ord(gtk_toggle_button_get_active(PGtkToggleButton(priv.choice_anon))); + if (priv.choice_anon <> nil) and (anonymous <> nil) then anonymous^ := gtk_toggle_button_get_active(PGtkToggleButton(priv.choice_anon)); if (password_save <> nil) and (radio_forget <> nil) and (radio_remember <> nil) then begin if gtk_toggle_button_get_active(PGtkToggleButton(radio_forget)) then password_save^ := VFS_PASSWORD_SAVE_NEVER else if (radio_session <> nil) and gtk_toggle_button_get_active(PGtkToggleButton(radio_session)) then password_save^ := VFS_PASSWORD_SAVE_FOR_SESSION else |
