=== ChangeLog
==================================================================
--- ChangeLog	(revision 14370)
+++ ChangeLog	(local)
@@ -4,6 +4,8 @@
 	(gnome_keyring_set_network_password_sync)
 	(gnome_keyring_find_network_password_sync): Allow most parameters to
 	be None/NULL.
+	(gnome_keyring_find_network_password_sync): All parameters are now
+	optional.
 
 2007-07-15  Gustavo J. A. M. Carneiro  <gjc@gnome.org>
 
=== gnomekeyring/gnomekeyring.override
==================================================================
--- gnomekeyring/gnomekeyring.override	(revision 14370)
+++ gnomekeyring/gnomekeyring.override	(local)
@@ -337,13 +337,18 @@
 _wrap_gnome_keyring_find_network_password_sync(PyObject *self, PyObject *args, PyObject *kwargs)
 {
     static char *kwlist[] = { "user", "domain", "server", "object", "protocol", "authtype", "port", NULL };
-    char *user, *domain, *server, *object, *protocol, *authtype;
-    unsigned long port;
+    char *user = NULL;
+    char *domain = NULL;
+    char *server = NULL;
+    char *object = NULL;
+    char *protocol = NULL;
+    char *authtype = NULL;
+    unsigned long port = 0l;
     gint ret;
     GList *result = NULL, *l;
     PyObject *py_result;
 
-    if (!PyArg_ParseTupleAndKeywords(args, kwargs,"zzzzzzk:find_network_password_sync", kwlist,
+    if (!PyArg_ParseTupleAndKeywords(args, kwargs,"|zzzzzzk:find_network_password_sync", kwlist,
                                      &user, &domain, &server, &object, &protocol, &authtype, &port))
         return NULL;
 
