aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-05-24 12:16:14 +0800
committerChris Toshok <toshok@src.gnome.org>2002-05-24 12:16:14 +0800
commitb8924866d1e8dc23fd8f3650620fc3aa7b951e75 (patch)
tree86cb0e8ee8b20cd9372b68588e2b043ffaea856f /addressbook
parent5a4fa3a053937f5515610648e60681d9bb5f43d9 (diff)
downloadgsoc2013-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')
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/gui/component/addressbook-config.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 0a6ba492ba..189c8529a8 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,8 @@
+2002-05-23 Chris Toshok <toshok@ximian.com>
+
+ * gui/component/addressbook-config.c (addressbook_root_dse_query):
+ fix parameter/local variable overloading.
+
2002-05-21 Ettore Perazzoli <ettore@ximian.com>
* gui/component/addressbook.c (load_uri_cb): Don't try to invoke
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;