--- gkd-prompt-tool.c.orig	2010-03-10 12:55:31.000000000 -0500
+++ gkd-prompt-tool.c	2010-03-10 12:56:21.000000000 -0500
@@ -419,7 +419,7 @@
 	g_return_val_if_fail (pentry && centry, FALSE);
 
 	/* No confirm, no password check */
-	if (!GTK_WIDGET_REALIZED (centry))
+	if (!gtk_widget_get_realized (centry))
 		return TRUE;
 
 	password = gtk_entry_get_text (GTK_ENTRY (pentry));
@@ -511,7 +511,7 @@
 	g_return_if_fail (GTK_IS_ENTRY (entry));
 	g_free (name);
 
-	if (!GTK_WIDGET_REALIZED (GTK_WIDGET (entry)))
+	if (!gtk_widget_get_realized (GTK_WIDGET (entry)))
 		return;
 
 	/* A non-encrypted password: just send the value back */
