diff --git a/gir b/gir index ea993ed556..8b9d0bb32e 160000 --- a/gir +++ b/gir @@ -1 +1 @@ -Subproject commit ea993ed556a1743d16734963df923965e471db5a +Subproject commit 8b9d0bb32ed3b76ff9931ee283c07d32af955b60 diff --git a/src/assistant.rs b/src/assistant.rs index 0485113665..49034f03d6 100644 --- a/src/assistant.rs +++ b/src/assistant.rs @@ -21,12 +21,10 @@ impl> AssistantExtManual for O { } unsafe extern "C" fn forward_page_trampoline(current_page: i32, f: glib_ffi::gpointer) -> i32 { - callback_guard!(); let f: &&(Fn(i32) -> i32 + 'static) = transmute(f); f(current_page) } unsafe extern "C" fn destroy_closure(ptr: glib_ffi::gpointer) { - callback_guard!(); Box_:: i32 + 'static>>::from_raw(ptr as *mut _); } diff --git a/src/auto/about_dialog.rs b/src/auto/about_dialog.rs index 91e154a63b..a96555925e 100644 --- a/src/auto/about_dialog.rs +++ b/src/auto/about_dialog.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ ea993ed) -// from gir-files (https://github.com/gtk-rs/gir-files @ ???) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT use Bin; @@ -481,112 +481,96 @@ impl + IsA> AboutDialogExt for O { unsafe extern "C" fn activate_link_trampoline

(this: *mut ffi::GtkAboutDialog, uri: *mut libc::c_char, f: glib_ffi::gpointer) -> glib_ffi::gboolean where P: IsA { - callback_guard!(); let f: &&(Fn(&P, &str) -> Inhibit + 'static) = transmute(f); f(&AboutDialog::from_glib_borrow(this).downcast_unchecked(), &String::from_glib_none(uri)).to_glib() } unsafe extern "C" fn notify_artists_trampoline

(this: *mut ffi::GtkAboutDialog, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AboutDialog::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_authors_trampoline

(this: *mut ffi::GtkAboutDialog, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AboutDialog::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_comments_trampoline

(this: *mut ffi::GtkAboutDialog, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AboutDialog::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_copyright_trampoline

(this: *mut ffi::GtkAboutDialog, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AboutDialog::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_documenters_trampoline

(this: *mut ffi::GtkAboutDialog, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AboutDialog::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_license_trampoline

(this: *mut ffi::GtkAboutDialog, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AboutDialog::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_license_type_trampoline

(this: *mut ffi::GtkAboutDialog, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AboutDialog::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_logo_trampoline

(this: *mut ffi::GtkAboutDialog, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AboutDialog::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_logo_icon_name_trampoline

(this: *mut ffi::GtkAboutDialog, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AboutDialog::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_program_name_trampoline

(this: *mut ffi::GtkAboutDialog, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AboutDialog::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_translator_credits_trampoline

(this: *mut ffi::GtkAboutDialog, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AboutDialog::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_version_trampoline

(this: *mut ffi::GtkAboutDialog, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AboutDialog::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_website_trampoline

(this: *mut ffi::GtkAboutDialog, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AboutDialog::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_website_label_trampoline

(this: *mut ffi::GtkAboutDialog, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AboutDialog::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_wrap_license_trampoline

(this: *mut ffi::GtkAboutDialog, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AboutDialog::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/accel_group.rs b/src/auto/accel_group.rs index 94f953ae6a..2e1b5cfcfe 100644 --- a/src/auto/accel_group.rs +++ b/src/auto/accel_group.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ ea993ed) -// from gir-files (https://github.com/gtk-rs/gir-files @ ???) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT use ffi; @@ -158,21 +158,18 @@ impl + IsA> AccelGroupExt for O { unsafe extern "C" fn accel_activate_trampoline

(this: *mut ffi::GtkAccelGroup, acceleratable: *mut gobject_ffi::GObject, keyval: libc::c_uint, modifier: gdk_ffi::GdkModifierType, f: glib_ffi::gpointer) -> glib_ffi::gboolean where P: IsA { - callback_guard!(); let f: &&(Fn(&P, &glib::Object, u32, gdk::ModifierType) -> bool + 'static) = transmute(f); f(&AccelGroup::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(acceleratable), keyval, from_glib(modifier)).to_glib() } unsafe extern "C" fn notify_is_locked_trampoline

(this: *mut ffi::GtkAccelGroup, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AccelGroup::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_modifier_mask_trampoline

(this: *mut ffi::GtkAccelGroup, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AccelGroup::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/action_bar.rs b/src/auto/action_bar.rs index 0faf28beca..42ff758b13 100644 --- a/src/auto/action_bar.rs +++ b/src/auto/action_bar.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ ea993ed) -// from gir-files (https://github.com/gtk-rs/gir-files @ ???) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT use Bin; diff --git a/src/auto/actionable.rs b/src/auto/actionable.rs index 8e01743056..b4dba5fa0b 100644 --- a/src/auto/actionable.rs +++ b/src/auto/actionable.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ ea993ed) -// from gir-files (https://github.com/gtk-rs/gir-files @ ???) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT use Buildable; @@ -90,7 +90,6 @@ impl + IsA> ActionableExt for O { unsafe extern "C" fn notify_action_name_trampoline

(this: *mut ffi::GtkActionable, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Actionable::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/adjustment.rs b/src/auto/adjustment.rs index ca7e402350..bda8932c30 100644 --- a/src/auto/adjustment.rs +++ b/src/auto/adjustment.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ ea993ed) -// from gir-files (https://github.com/gtk-rs/gir-files @ ???) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT use ffi; @@ -257,56 +257,48 @@ impl + IsA> AdjustmentExt for O { unsafe extern "C" fn changed_trampoline

(this: *mut ffi::GtkAdjustment, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Adjustment::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn value_changed_trampoline

(this: *mut ffi::GtkAdjustment, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Adjustment::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_lower_trampoline

(this: *mut ffi::GtkAdjustment, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Adjustment::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_page_increment_trampoline

(this: *mut ffi::GtkAdjustment, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Adjustment::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_page_size_trampoline

(this: *mut ffi::GtkAdjustment, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Adjustment::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_step_increment_trampoline

(this: *mut ffi::GtkAdjustment, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Adjustment::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_upper_trampoline

(this: *mut ffi::GtkAdjustment, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Adjustment::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_value_trampoline

(this: *mut ffi::GtkAdjustment, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Adjustment::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/alignment.rs b/src/auto/alignment.rs index 5a4a751c4b..1feb1b5421 100644 --- a/src/auto/alignment.rs +++ b/src/auto/alignment.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ ea993ed) -// from gir-files (https://github.com/gtk-rs/gir-files @ ???) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT use Bin; @@ -326,56 +326,48 @@ impl + IsA> AlignmentExt for O { unsafe extern "C" fn notify_bottom_padding_trampoline

(this: *mut ffi::GtkAlignment, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Alignment::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_left_padding_trampoline

(this: *mut ffi::GtkAlignment, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Alignment::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_right_padding_trampoline

(this: *mut ffi::GtkAlignment, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Alignment::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_top_padding_trampoline

(this: *mut ffi::GtkAlignment, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Alignment::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_xalign_trampoline

(this: *mut ffi::GtkAlignment, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Alignment::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_xscale_trampoline

(this: *mut ffi::GtkAlignment, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Alignment::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_yalign_trampoline

(this: *mut ffi::GtkAlignment, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Alignment::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_yscale_trampoline

(this: *mut ffi::GtkAlignment, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Alignment::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/app_chooser_button.rs b/src/auto/app_chooser_button.rs index 0325b0ce95..4edc522817 100644 --- a/src/auto/app_chooser_button.rs +++ b/src/auto/app_chooser_button.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ ea993ed) -// from gir-files (https://github.com/gtk-rs/gir-files @ ???) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT use AppChooser; @@ -161,28 +161,24 @@ impl + IsA> AppChooserButtonExt f unsafe extern "C" fn custom_item_activated_trampoline

(this: *mut ffi::GtkAppChooserButton, item_name: *mut libc::c_char, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P, &str) + 'static) = transmute(f); f(&AppChooserButton::from_glib_borrow(this).downcast_unchecked(), &String::from_glib_none(item_name)) } unsafe extern "C" fn notify_heading_trampoline

(this: *mut ffi::GtkAppChooserButton, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AppChooserButton::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_show_default_item_trampoline

(this: *mut ffi::GtkAppChooserButton, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AppChooserButton::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_show_dialog_item_trampoline

(this: *mut ffi::GtkAppChooserButton, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AppChooserButton::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/app_chooser_dialog.rs b/src/auto/app_chooser_dialog.rs index a01ae640da..f871ca1224 100644 --- a/src/auto/app_chooser_dialog.rs +++ b/src/auto/app_chooser_dialog.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ ea993ed) -// from gir-files (https://github.com/gtk-rs/gir-files @ ???) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT use AppChooser; @@ -115,14 +115,12 @@ impl + IsA> AppChooserDialogExt f unsafe extern "C" fn notify_gfile_trampoline

(this: *mut ffi::GtkAppChooserDialog, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AppChooserDialog::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_heading_trampoline

(this: *mut ffi::GtkAppChooserDialog, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AppChooserDialog::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/app_chooser_widget.rs b/src/auto/app_chooser_widget.rs index f0ceb1d33b..d6808dea2a 100644 --- a/src/auto/app_chooser_widget.rs +++ b/src/auto/app_chooser_widget.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ ea993ed) -// from gir-files (https://github.com/gtk-rs/gir-files @ ???) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT use AppChooser; @@ -234,63 +234,54 @@ impl + IsA> AppChooserWidgetExt f unsafe extern "C" fn application_activated_trampoline

(this: *mut ffi::GtkAppChooserWidget, application: *mut gio_ffi::GAppInfo, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P, &gio::AppInfo) + 'static) = transmute(f); f(&AppChooserWidget::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(application)) } unsafe extern "C" fn application_selected_trampoline

(this: *mut ffi::GtkAppChooserWidget, application: *mut gio_ffi::GAppInfo, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P, &gio::AppInfo) + 'static) = transmute(f); f(&AppChooserWidget::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(application)) } unsafe extern "C" fn populate_popup_trampoline

(this: *mut ffi::GtkAppChooserWidget, menu: *mut ffi::GtkMenu, application: *mut gio_ffi::GAppInfo, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P, &Menu, &gio::AppInfo) + 'static) = transmute(f); f(&AppChooserWidget::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(menu), &from_glib_borrow(application)) } unsafe extern "C" fn notify_default_text_trampoline

(this: *mut ffi::GtkAppChooserWidget, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AppChooserWidget::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_show_all_trampoline

(this: *mut ffi::GtkAppChooserWidget, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AppChooserWidget::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_show_default_trampoline

(this: *mut ffi::GtkAppChooserWidget, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AppChooserWidget::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_show_fallback_trampoline

(this: *mut ffi::GtkAppChooserWidget, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AppChooserWidget::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_show_other_trampoline

(this: *mut ffi::GtkAppChooserWidget, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AppChooserWidget::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_show_recommended_trampoline

(this: *mut ffi::GtkAppChooserWidget, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AppChooserWidget::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/application.rs b/src/auto/application.rs index c88653d5fb..c0934fee2c 100644 --- a/src/auto/application.rs +++ b/src/auto/application.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ ea993ed) -// from gir-files (https://github.com/gtk-rs/gir-files @ ???) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT use ApplicationInhibitFlags; @@ -318,42 +318,36 @@ impl + IsA> GtkApplicationExt for O { unsafe extern "C" fn window_added_trampoline

(this: *mut ffi::GtkApplication, window: *mut ffi::GtkWindow, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P, &Window) + 'static) = transmute(f); f(&Application::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(window)) } unsafe extern "C" fn window_removed_trampoline

(this: *mut ffi::GtkApplication, window: *mut ffi::GtkWindow, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P, &Window) + 'static) = transmute(f); f(&Application::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(window)) } unsafe extern "C" fn notify_active_window_trampoline

(this: *mut ffi::GtkApplication, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Application::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_app_menu_trampoline

(this: *mut ffi::GtkApplication, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Application::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_menubar_trampoline

(this: *mut ffi::GtkApplication, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Application::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_register_session_trampoline

(this: *mut ffi::GtkApplication, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Application::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/application_window.rs b/src/auto/application_window.rs index 116eb9362a..be1f8b9a99 100644 --- a/src/auto/application_window.rs +++ b/src/auto/application_window.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ ea993ed) -// from gir-files (https://github.com/gtk-rs/gir-files @ ???) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT use Application; @@ -115,7 +115,6 @@ impl + IsA> ApplicationWindowExt unsafe extern "C" fn notify_show_menubar_trampoline

(this: *mut ffi::GtkApplicationWindow, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&ApplicationWindow::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/arrow.rs b/src/auto/arrow.rs index e09b3f18f6..068ad78879 100644 --- a/src/auto/arrow.rs +++ b/src/auto/arrow.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ ea993ed) -// from gir-files (https://github.com/gtk-rs/gir-files @ ???) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT use ArrowType; @@ -112,14 +112,12 @@ impl + IsA> ArrowExt for O { unsafe extern "C" fn notify_arrow_type_trampoline

(this: *mut ffi::GtkArrow, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Arrow::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_shadow_type_trampoline

(this: *mut ffi::GtkArrow, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Arrow::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/aspect_frame.rs b/src/auto/aspect_frame.rs index 3637a4a6ed..52212c289b 100644 --- a/src/auto/aspect_frame.rs +++ b/src/auto/aspect_frame.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ ea993ed) -// from gir-files (https://github.com/gtk-rs/gir-files @ ???) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT use Bin; @@ -168,28 +168,24 @@ impl + IsA> AspectFrameExt for O { unsafe extern "C" fn notify_obey_child_trampoline

(this: *mut ffi::GtkAspectFrame, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AspectFrame::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_ratio_trampoline

(this: *mut ffi::GtkAspectFrame, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AspectFrame::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_xalign_trampoline

(this: *mut ffi::GtkAspectFrame, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AspectFrame::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_yalign_trampoline

(this: *mut ffi::GtkAspectFrame, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&AspectFrame::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/assistant.rs b/src/auto/assistant.rs index 8d2109526f..56d9c5380c 100644 --- a/src/auto/assistant.rs +++ b/src/auto/assistant.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ ea993ed) -// from gir-files (https://github.com/gtk-rs/gir-files @ ???) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT use AssistantPageType; @@ -392,35 +392,30 @@ impl + IsA + IsA + glib::obje unsafe extern "C" fn apply_trampoline

(this: *mut ffi::GtkAssistant, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Assistant::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn cancel_trampoline

(this: *mut ffi::GtkAssistant, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Assistant::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn close_trampoline

(this: *mut ffi::GtkAssistant, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Assistant::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn escape_trampoline

(this: *mut ffi::GtkAssistant, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Assistant::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn prepare_trampoline

(this: *mut ffi::GtkAssistant, page: *mut ffi::GtkWidget, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P, &Widget) + 'static) = transmute(f); f(&Assistant::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(page)) } @@ -428,7 +423,6 @@ where P: IsA { #[cfg(any(feature = "v3_12", feature = "dox"))] unsafe extern "C" fn notify_use_header_bar_trampoline

(this: *mut ffi::GtkAssistant, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Assistant::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/bin.rs b/src/auto/bin.rs index 801c4f7cf7..c629ddb000 100644 --- a/src/auto/bin.rs +++ b/src/auto/bin.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ ea993ed) -// from gir-files (https://github.com/gtk-rs/gir-files @ ???) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT use Buildable; diff --git a/src/auto/box_.rs b/src/auto/box_.rs index 37cb8dc188..be00264fd1 100644 --- a/src/auto/box_.rs +++ b/src/auto/box_.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ ea993ed) -// from gir-files (https://github.com/gtk-rs/gir-files @ ???) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT #[cfg(any(feature = "v3_10", feature = "dox"))] @@ -307,21 +307,18 @@ impl + IsA + IsA> BoxExt for O { #[cfg(any(feature = "v3_10", feature = "dox"))] unsafe extern "C" fn notify_baseline_position_trampoline

(this: *mut ffi::GtkBox, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Box::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_homogeneous_trampoline

(this: *mut ffi::GtkBox, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Box::from_glib_borrow(this).downcast_unchecked()) } unsafe extern "C" fn notify_spacing_trampoline

(this: *mut ffi::GtkBox, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Box::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/buildable.rs b/src/auto/buildable.rs index 42556c99cb..228a8927f9 100644 --- a/src/auto/buildable.rs +++ b/src/auto/buildable.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ ea993ed) -// from gir-files (https://github.com/gtk-rs/gir-files @ ???) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT use Builder; diff --git a/src/auto/builder.rs b/src/auto/builder.rs index e2c6fce727..60025c5757 100644 --- a/src/auto/builder.rs +++ b/src/auto/builder.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ ea993ed) -// from gir-files (https://github.com/gtk-rs/gir-files @ ???) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT #[cfg(any(feature = "v3_10", feature = "dox"))] @@ -246,7 +246,6 @@ impl + IsA> BuilderExt for O { unsafe extern "C" fn notify_translation_domain_trampoline

(this: *mut ffi::GtkBuilder, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { - callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Builder::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/button.rs b/src/auto/button.rs index 5c37955d09..1cb7ef9c63 100644 --- a/src/auto/button.rs +++ b/src/auto/button.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ ea993ed) -// from gir-files (https://github.com/gtk-rs/gir-files @ ???) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT use Actionable; @@ -433,14 +433,12 @@ impl + IsA + glib::object::ObjectExt> Butto unsafe extern "C" fn activate_trampoline

(this: *mut ffi::GtkButton, f: glib_ffi::gpointer) where P: IsA