diff src/dialogs.c @ 3847:ccb122620b1a

[gaim-migrate @ 3999] fixes a compile warning in dialog.c. thanks Ari Pollak (sourceo) committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Fri, 01 Nov 2002 13:17:06 +0000
parents b7b1bd70dfdb
children 22ed8423a964
line wrap: on
line diff
--- a/src/dialogs.c	Fri Nov 01 08:15:10 2002 +0000
+++ b/src/dialogs.c	Fri Nov 01 13:17:06 2002 +0000
@@ -952,7 +952,7 @@
 	struct addbuddy *a = g_new0(struct addbuddy, 1);
 	a->gc = gc;
 
-	a->window =  gtk_dialog_new_with_buttons("", blist, GTK_DIALOG_MODAL, 
+	a->window =  gtk_dialog_new_with_buttons("", GTK_WINDOW(blist), GTK_DIALOG_MODAL, 
 						 GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_ADD, GTK_RESPONSE_OK, NULL);
 	gtk_dialog_set_default_response (GTK_DIALOG(a->window), GTK_RESPONSE_OK);
 	gtk_container_set_border_width (GTK_CONTAINER(a->window), 6);