changeset 4787:5939d3d13ab3

[gaim-migrate @ 5107] fix a gtk warning committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sat, 15 Mar 2003 07:55:36 +0000
parents 01e349782075
children 9e8ae330fb28
files src/dialogs.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dialogs.c	Sat Mar 15 07:48:27 2003 +0000
+++ b/src/dialogs.c	Sat Mar 15 07:55:36 2003 +0000
@@ -3399,7 +3399,8 @@
 	gtk_box_pack_start(GTK_BOX(topbox), bbox, FALSE, FALSE, 0);
 
 	gtk_entry_set_text(GTK_ENTRY(aliasentry), b->name);
-	gtk_entry_set_text(GTK_ENTRY(aliasname), b->alias);
+	if(b->alias)
+		gtk_entry_set_text(GTK_ENTRY(aliasname), b->alias);
 
 	/* Put the buttons in the box */
 	bbox = gtk_hbox_new(FALSE, 5);