source-dialog: make NULL comparison explicit

This commit is contained in:
Erick Pérez Castellanos
2015-05-25 12:36:54 -04:00
parent 2677ec560a
commit 53e3c04bb2
+2 -2
View File
@@ -1394,10 +1394,10 @@ prompt_credentials (GcalSourceDialog *dialog,
if (response == GTK_RESPONSE_OK)
{
if (username)
if (username != NULL)
*username = g_strdup (gtk_entry_get_text (GTK_ENTRY (priv->credentials_user_entry)));
if (password)
if (password != NULL)
*password = g_strdup (gtk_entry_get_text (GTK_ENTRY (priv->credentials_password_entry)));
}