diff options
author | Chris Toshok <toshok@ximian.com> | 2002-05-24 12:16:14 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2002-05-24 12:16:14 +0800 |
commit | b8924866d1e8dc23fd8f3650620fc3aa7b951e75 (patch) | |
tree | 86cb0e8ee8b20cd9372b68588e2b043ffaea856f /addressbook/gui | |
parent | 5a4fa3a053937f5515610648e60681d9bb5f43d9 (diff) | |
download | gsoc2013-evolution-b8924866d1e8dc23fd8f3650620fc3aa7b951e75.tar.gz gsoc2013-evolution-b8924866d1e8dc23fd8f3650620fc3aa7b951e75.tar.zst gsoc2013-evolution-b8924866d1e8dc23fd8f3650620fc3aa7b951e75.zip |
fix parameter/local variable overloading.
2002-05-23 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-config.c (addressbook_root_dse_query):
fix parameter/local variable overloading.
svn path=/trunk/; revision=16996
Diffstat (limited to 'addressbook/gui')
-rw-r--r-- | addressbook/gui/component/addressbook-config.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addressbook/gui/component/addressbook-config.c b/addressbook/gui/component/addressbook-config.c index 0961d81533..74eaff863e 100644 --- a/addressbook/gui/component/addressbook-config.c +++ b/addressbook/gui/component/addressbook-config.c @@ -222,7 +222,7 @@ addressbook_ldap_auth (GtkWidget *window, AddressbookSource *source, LDAP *ldap) } static int -addressbook_root_dse_query (GtkWidget *dialog, AddressbookSource *source, LDAP *ldap, char **attrs, LDAPMessage **resp) +addressbook_root_dse_query (GtkWindow *window, AddressbookSource *source, LDAP *ldap, char **attrs, LDAPMessage **resp) { int ldap_error; struct timeval timeout; @@ -237,7 +237,7 @@ addressbook_root_dse_query (GtkWidget *dialog, AddressbookSource *source, LDAP * attrs, 0, NULL, NULL, &timeout, LDAP_NO_LIMIT, resp); if (LDAP_SUCCESS != ldap_error) { GtkWidget *dialog; - dialog = gnome_error_dialog_parented (_("Could not perform query on Root DSE"), GTK_WINDOW (dialog)); + dialog = gnome_error_dialog_parented (_("Could not perform query on Root DSE"), window); gtk_window_set_modal (GTK_WINDOW (dialog), TRUE); } @@ -638,7 +638,7 @@ do_ldap_root_dse_query (GtkWidget *dialog, ETableModel *model, AddressbookSource attrs[0] = "namingContexts"; attrs[1] = NULL; - ldap_error = addressbook_root_dse_query (dialog, source, ldap, attrs, &resp); + ldap_error = addressbook_root_dse_query (GTK_WINDOW (dialog), source, ldap, attrs, &resp); if (ldap_error != LDAP_SUCCESS) goto fail; |