Mercurial > pidgin.yaz
diff src/ft.c @ 4162:d3c8d2b40494
[gaim-migrate @ 4391]
gtk_signal_connect() to g_signal_connect()
Everything seems fine, and nothing should be broken. However, please let me
know if anything strange happens.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Tue, 31 Dec 2002 19:32:38 +0000 |
parents | 1bd663beada5 |
children | 511c2b63caa4 |
line wrap: on
line diff
--- a/src/ft.c Tue Dec 31 18:21:32 2002 +0000 +++ b/src/ft.c Tue Dec 31 19:32:38 2002 +0000 @@ -233,7 +233,7 @@ */ if (xfer->w) { gtk_signal_disconnect_by_func(GTK_OBJECT(xfer->w), - GTK_SIGNAL_FUNC(ft_cancel), xfer); + G_CALLBACK(ft_cancel), xfer); gtk_widget_destroy(xfer->w); xfer->w = NULL; } @@ -401,12 +401,12 @@ initstr); g_free(initstr); - gtk_signal_connect(GTK_OBJECT(xfer->w), "delete_event", - GTK_SIGNAL_FUNC(ft_cancel), xfer); - gtk_signal_connect(GTK_OBJECT(GTK_FILE_SELECTION(xfer->w)->cancel_button), - "clicked", GTK_SIGNAL_FUNC(ft_cancel), xfer); - gtk_signal_connect(GTK_OBJECT(GTK_FILE_SELECTION(xfer->w)->ok_button), - "clicked", GTK_SIGNAL_FUNC(ft_choose_ok), xfer); + g_signal_connect(GTK_OBJECT(xfer->w), "delete_event", + G_CALLBACK(ft_cancel), xfer); + g_signal_connect(GTK_OBJECT(GTK_FILE_SELECTION(xfer->w)->cancel_button), + "clicked", G_CALLBACK(ft_cancel), xfer); + g_signal_connect(GTK_OBJECT(GTK_FILE_SELECTION(xfer->w)->ok_button), + "clicked", G_CALLBACK(ft_choose_ok), xfer); gtk_widget_show(xfer->w); return 0;