|
1 |
| -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) |
| 1 | +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) |
2 | 2 | // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
|
3 | 3 | // DO NOT EDIT
|
4 | 4 |
|
@@ -455,90 +455,105 @@ impl<O: IsA<Completion> + IsA<glib::object::Object> + glib::object::ObjectExt> C
|
455 | 455 |
|
456 | 456 | unsafe extern "C" fn activate_proposal_trampoline<P>(this: *mut ffi::GtkSourceCompletion, f: glib_ffi::gpointer)
|
457 | 457 | where P: IsA<Completion> {
|
| 458 | + callback_guard!(); |
458 | 459 | let f: &&(Fn(&P) + 'static) = transmute(f);
|
459 | 460 | f(&Completion::from_glib_borrow(this).downcast_unchecked())
|
460 | 461 | }
|
461 | 462 |
|
462 | 463 | unsafe extern "C" fn hide_trampoline<P>(this: *mut ffi::GtkSourceCompletion, f: glib_ffi::gpointer)
|
463 | 464 | where P: IsA<Completion> {
|
| 465 | + callback_guard!(); |
464 | 466 | let f: &&(Fn(&P) + 'static) = transmute(f);
|
465 | 467 | f(&Completion::from_glib_borrow(this).downcast_unchecked())
|
466 | 468 | }
|
467 | 469 |
|
468 | 470 | unsafe extern "C" fn move_cursor_trampoline<P>(this: *mut ffi::GtkSourceCompletion, step: gtk_ffi::GtkScrollStep, num: libc::c_int, f: glib_ffi::gpointer)
|
469 | 471 | where P: IsA<Completion> {
|
| 472 | + callback_guard!(); |
470 | 473 | let f: &&(Fn(&P, gtk::ScrollStep, i32) + 'static) = transmute(f);
|
471 | 474 | f(&Completion::from_glib_borrow(this).downcast_unchecked(), from_glib(step), num)
|
472 | 475 | }
|
473 | 476 |
|
474 | 477 | unsafe extern "C" fn move_page_trampoline<P>(this: *mut ffi::GtkSourceCompletion, step: gtk_ffi::GtkScrollStep, num: libc::c_int, f: glib_ffi::gpointer)
|
475 | 478 | where P: IsA<Completion> {
|
| 479 | + callback_guard!(); |
476 | 480 | let f: &&(Fn(&P, gtk::ScrollStep, i32) + 'static) = transmute(f);
|
477 | 481 | f(&Completion::from_glib_borrow(this).downcast_unchecked(), from_glib(step), num)
|
478 | 482 | }
|
479 | 483 |
|
480 | 484 | unsafe extern "C" fn populate_context_trampoline<P>(this: *mut ffi::GtkSourceCompletion, context: *mut ffi::GtkSourceCompletionContext, f: glib_ffi::gpointer)
|
481 | 485 | where P: IsA<Completion> {
|
| 486 | + callback_guard!(); |
482 | 487 | let f: &&(Fn(&P, &CompletionContext) + 'static) = transmute(f);
|
483 | 488 | f(&Completion::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(context))
|
484 | 489 | }
|
485 | 490 |
|
486 | 491 | unsafe extern "C" fn show_trampoline<P>(this: *mut ffi::GtkSourceCompletion, f: glib_ffi::gpointer)
|
487 | 492 | where P: IsA<Completion> {
|
| 493 | + callback_guard!(); |
488 | 494 | let f: &&(Fn(&P) + 'static) = transmute(f);
|
489 | 495 | f(&Completion::from_glib_borrow(this).downcast_unchecked())
|
490 | 496 | }
|
491 | 497 |
|
492 | 498 | unsafe extern "C" fn notify_accelerators_trampoline<P>(this: *mut ffi::GtkSourceCompletion, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
493 | 499 | where P: IsA<Completion> {
|
| 500 | + callback_guard!(); |
494 | 501 | let f: &&(Fn(&P) + 'static) = transmute(f);
|
495 | 502 | f(&Completion::from_glib_borrow(this).downcast_unchecked())
|
496 | 503 | }
|
497 | 504 |
|
498 | 505 | unsafe extern "C" fn notify_auto_complete_delay_trampoline<P>(this: *mut ffi::GtkSourceCompletion, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
499 | 506 | where P: IsA<Completion> {
|
| 507 | + callback_guard!(); |
500 | 508 | let f: &&(Fn(&P) + 'static) = transmute(f);
|
501 | 509 | f(&Completion::from_glib_borrow(this).downcast_unchecked())
|
502 | 510 | }
|
503 | 511 |
|
504 | 512 | unsafe extern "C" fn notify_proposal_page_size_trampoline<P>(this: *mut ffi::GtkSourceCompletion, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
505 | 513 | where P: IsA<Completion> {
|
| 514 | + callback_guard!(); |
506 | 515 | let f: &&(Fn(&P) + 'static) = transmute(f);
|
507 | 516 | f(&Completion::from_glib_borrow(this).downcast_unchecked())
|
508 | 517 | }
|
509 | 518 |
|
510 | 519 | unsafe extern "C" fn notify_provider_page_size_trampoline<P>(this: *mut ffi::GtkSourceCompletion, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
511 | 520 | where P: IsA<Completion> {
|
| 521 | + callback_guard!(); |
512 | 522 | let f: &&(Fn(&P) + 'static) = transmute(f);
|
513 | 523 | f(&Completion::from_glib_borrow(this).downcast_unchecked())
|
514 | 524 | }
|
515 | 525 |
|
516 | 526 | unsafe extern "C" fn notify_remember_info_visibility_trampoline<P>(this: *mut ffi::GtkSourceCompletion, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
517 | 527 | where P: IsA<Completion> {
|
| 528 | + callback_guard!(); |
518 | 529 | let f: &&(Fn(&P) + 'static) = transmute(f);
|
519 | 530 | f(&Completion::from_glib_borrow(this).downcast_unchecked())
|
520 | 531 | }
|
521 | 532 |
|
522 | 533 | unsafe extern "C" fn notify_select_on_show_trampoline<P>(this: *mut ffi::GtkSourceCompletion, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
523 | 534 | where P: IsA<Completion> {
|
| 535 | + callback_guard!(); |
524 | 536 | let f: &&(Fn(&P) + 'static) = transmute(f);
|
525 | 537 | f(&Completion::from_glib_borrow(this).downcast_unchecked())
|
526 | 538 | }
|
527 | 539 |
|
528 | 540 | unsafe extern "C" fn notify_show_headers_trampoline<P>(this: *mut ffi::GtkSourceCompletion, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
529 | 541 | where P: IsA<Completion> {
|
| 542 | + callback_guard!(); |
530 | 543 | let f: &&(Fn(&P) + 'static) = transmute(f);
|
531 | 544 | f(&Completion::from_glib_borrow(this).downcast_unchecked())
|
532 | 545 | }
|
533 | 546 |
|
534 | 547 | unsafe extern "C" fn notify_show_icons_trampoline<P>(this: *mut ffi::GtkSourceCompletion, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
535 | 548 | where P: IsA<Completion> {
|
| 549 | + callback_guard!(); |
536 | 550 | let f: &&(Fn(&P) + 'static) = transmute(f);
|
537 | 551 | f(&Completion::from_glib_borrow(this).downcast_unchecked())
|
538 | 552 | }
|
539 | 553 |
|
540 | 554 | unsafe extern "C" fn notify_view_trampoline<P>(this: *mut ffi::GtkSourceCompletion, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
|
541 | 555 | where P: IsA<Completion> {
|
| 556 | + callback_guard!(); |
542 | 557 | let f: &&(Fn(&P) + 'static) = transmute(f);
|
543 | 558 | f(&Completion::from_glib_borrow(this).downcast_unchecked())
|
544 | 559 | }
|
0 commit comments