svn path=/trunk/; revision=8020
+2007-08-31 Milan Crha <mcrha@redhat.com>
+
+ ** Part of fix for bug #378759
+
+ * e-passwords.c: (e_passwords_ask_password): Added tests for non-NULL
+ component_name and key parameters.
+
2007-08-19 Kevin Piche <kpiche@gmail.com>
** Fix for bug #464569
GtkWindow *parent)
{
char *passwd;
- EPassMsg *msg = ep_msg_new(ep_ask_password);
+ EPassMsg *msg;
+
+ g_return_val_if_fail (component_name != NULL, NULL);
+ g_return_val_if_fail (key != NULL, NULL);
if ((type & E_PASSWORDS_ONLINE) && !ep_online_state)
return NULL;
+ msg = ep_msg_new (ep_ask_password);
msg->title = title;
msg->component = component_name;
msg->key = key;