Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 4161:c79961f48063 | 4162:d3c8d2b40494 |
|---|---|
| 231 /* It's safe to clean up now. Just make sure we | 231 /* It's safe to clean up now. Just make sure we |
| 232 * destroy the dialog window first. | 232 * destroy the dialog window first. |
| 233 */ | 233 */ |
| 234 if (xfer->w) { | 234 if (xfer->w) { |
| 235 gtk_signal_disconnect_by_func(GTK_OBJECT(xfer->w), | 235 gtk_signal_disconnect_by_func(GTK_OBJECT(xfer->w), |
| 236 GTK_SIGNAL_FUNC(ft_cancel), xfer); | 236 G_CALLBACK(ft_cancel), xfer); |
| 237 gtk_widget_destroy(xfer->w); | 237 gtk_widget_destroy(xfer->w); |
| 238 xfer->w = NULL; | 238 xfer->w = NULL; |
| 239 } | 239 } |
| 240 } | 240 } |
| 241 | 241 |
| 399 | 399 |
| 400 gtk_file_selection_set_filename(GTK_FILE_SELECTION(xfer->w), | 400 gtk_file_selection_set_filename(GTK_FILE_SELECTION(xfer->w), |
| 401 initstr); | 401 initstr); |
| 402 g_free(initstr); | 402 g_free(initstr); |
| 403 | 403 |
| 404 gtk_signal_connect(GTK_OBJECT(xfer->w), "delete_event", | 404 g_signal_connect(GTK_OBJECT(xfer->w), "delete_event", |
| 405 GTK_SIGNAL_FUNC(ft_cancel), xfer); | 405 G_CALLBACK(ft_cancel), xfer); |
| 406 gtk_signal_connect(GTK_OBJECT(GTK_FILE_SELECTION(xfer->w)->cancel_button), | 406 g_signal_connect(GTK_OBJECT(GTK_FILE_SELECTION(xfer->w)->cancel_button), |
| 407 "clicked", GTK_SIGNAL_FUNC(ft_cancel), xfer); | 407 "clicked", G_CALLBACK(ft_cancel), xfer); |
| 408 gtk_signal_connect(GTK_OBJECT(GTK_FILE_SELECTION(xfer->w)->ok_button), | 408 g_signal_connect(GTK_OBJECT(GTK_FILE_SELECTION(xfer->w)->ok_button), |
| 409 "clicked", GTK_SIGNAL_FUNC(ft_choose_ok), xfer); | 409 "clicked", G_CALLBACK(ft_choose_ok), xfer); |
| 410 gtk_widget_show(xfer->w); | 410 gtk_widget_show(xfer->w); |
| 411 | 411 |
| 412 return 0; | 412 return 0; |
| 413 } | 413 } |
| 414 | 414 |
