Mercurial > pidgin.yaz
changeset 6112:a22c151463e1
[gaim-migrate @ 6574]
fix an incorrect cast, and hopefully fix one of Cae's segfaults
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 13 Jul 2003 19:25:44 +0000 |
parents | 77dcc775f97b |
children | 30d4c432101c |
files | src/dialogs.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dialogs.c Sun Jul 13 18:57:34 2003 +0000 +++ b/src/dialogs.c Sun Jul 13 19:25:44 2003 +0000 @@ -342,7 +342,10 @@ gtk_misc_set_alignment(GTK_MISC(img), 0, 0); - w->window = gtk_dialog_new_with_buttons(_("Warn User"), GTK_WINDOW(c->window), 0, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, _("_Warn"), GTK_RESPONSE_OK, NULL); + w->window = gtk_dialog_new_with_buttons(_("Warn User"), + GTK_WINDOW(GAIM_GTK_WINDOW(c->window)->window), 0, + GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, + _("_Warn"), GTK_RESPONSE_OK, NULL); gtk_dialog_set_default_response (GTK_DIALOG(w->window), GTK_RESPONSE_OK); g_signal_connect(G_OBJECT(w->window), "response", G_CALLBACK(do_warn), w);