Mercurial > pidgin.yaz
changeset 7407:0c0bde5a3959
[gaim-migrate @ 8007]
benjamin lee caught this
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sat, 01 Nov 2003 19:16:12 +0000 |
parents | c91199e88c9e |
children | fd464e819dbe |
files | src/gtkconn.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkconn.c Sat Nov 01 17:27:42 2003 +0000 +++ b/src/gtkconn.c Sat Nov 01 19:16:12 2003 +0000 @@ -324,7 +324,7 @@ GtkCellRenderer *rend, *rend2; GtkTreeSelection *sel; - disconnect_window = g_malloc(sizeof(disconnect_window)); + disconnect_window = g_new0(struct disconnect_window, 1); disconnect_window->window = gtk_dialog_new_with_buttons("", NULL, GTK_DIALOG_NO_SEPARATOR, _("Reconnect"), GTK_RESPONSE_ACCEPT, GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE, NULL);