diff --git a/gir b/gir index 8b9d0bb..fbb95f4 160000 --- a/gir +++ b/gir @@ -1 +1 @@ -Subproject commit 8b9d0bb32ed3b76ff9931ee283c07d32af955b60 +Subproject commit fbb95f484ed5f202af9594b6c8d4f59fc0501bf1 diff --git a/sourceview-sys/build.rs b/sourceview-sys/build.rs index f04eb49..8b8b2c4 100644 --- a/sourceview-sys/build.rs +++ b/sourceview-sys/build.rs @@ -53,6 +53,7 @@ fn find() -> Result<(), Error> { let mut config = Config::new(); config.atleast_version(version); + config.print_system_libs(false); if hardcode_shared_libs { config.cargo_metadata(false); } diff --git a/sourceview-sys/src/lib.rs b/sourceview-sys/src/lib.rs index 7eac503..8da0177 100644 --- a/sourceview-sys/src/lib.rs +++ b/sourceview-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ ea993ed) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT diff --git a/src/auto/buffer.rs b/src/auto/buffer.rs index bd0168a..dd620c0 100644 --- a/src/auto/buffer.rs +++ b/src/auto/buffer.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT @@ -526,48 +526,56 @@ impl + IsA> BufferExt for O { unsafe extern "C" fn highlight_updated_trampoline

(this: *mut ffi::GtkSourceBuffer, start: *mut gtk_ffi::GtkTextIter, end: *mut gtk_ffi::GtkTextIter, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, >k::TextIter, >k::TextIter) + 'static) = transmute(f); f(&Buffer::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(start), &from_glib_borrow(end)) } unsafe extern "C" fn redo_trampoline

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

(this: *mut ffi::GtkSourceBuffer, mark: *mut gtk_ffi::GtkTextMark, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, >k::TextMark) + 'static) = transmute(f); f(&Buffer::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(mark)) } unsafe extern "C" fn undo_trampoline

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

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

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

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

(this: *mut ffi::GtkSourceBuffer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Buffer::from_glib_borrow(this).downcast_unchecked()) } @@ -575,30 +583,35 @@ where P: IsA { #[cfg(any(feature = "v3_14", feature = "dox"))] unsafe extern "C" fn notify_implicit_trailing_newline_trampoline

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

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

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

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

(this: *mut ffi::GtkSourceBuffer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Buffer::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/completion.rs b/src/auto/completion.rs index 1103c78..bf401f7 100644 --- a/src/auto/completion.rs +++ b/src/auto/completion.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT @@ -455,90 +455,105 @@ impl + IsA + glib::object::ObjectExt> C unsafe extern "C" fn activate_proposal_trampoline

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

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

(this: *mut ffi::GtkSourceCompletion, step: gtk_ffi::GtkScrollStep, num: libc::c_int, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, gtk::ScrollStep, i32) + 'static) = transmute(f); f(&Completion::from_glib_borrow(this).downcast_unchecked(), from_glib(step), num) } unsafe extern "C" fn move_page_trampoline

(this: *mut ffi::GtkSourceCompletion, step: gtk_ffi::GtkScrollStep, num: libc::c_int, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, gtk::ScrollStep, i32) + 'static) = transmute(f); f(&Completion::from_glib_borrow(this).downcast_unchecked(), from_glib(step), num) } unsafe extern "C" fn populate_context_trampoline

(this: *mut ffi::GtkSourceCompletion, context: *mut ffi::GtkSourceCompletionContext, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &CompletionContext) + 'static) = transmute(f); f(&Completion::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(context)) } unsafe extern "C" fn show_trampoline

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

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

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

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

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

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

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

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

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

(this: *mut ffi::GtkSourceCompletion, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Completion::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/completion_context.rs b/src/auto/completion_context.rs index 51edcc7..d84fe38 100644 --- a/src/auto/completion_context.rs +++ b/src/auto/completion_context.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT @@ -117,18 +117,21 @@ impl + IsA + glib::object::Objec unsafe extern "C" fn cancelled_trampoline

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

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

(this: *mut ffi::GtkSourceCompletionContext, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&CompletionContext::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/completion_info.rs b/src/auto/completion_info.rs index 9a4e0cc..877fd18 100644 --- a/src/auto/completion_info.rs +++ b/src/auto/completion_info.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT @@ -86,6 +86,7 @@ impl + IsA + glib::object::ObjectEx unsafe extern "C" fn before_show_trampoline

(this: *mut ffi::GtkSourceCompletionInfo, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&CompletionInfo::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/completion_item.rs b/src/auto/completion_item.rs index b4e49af..c6c3e7d 100644 --- a/src/auto/completion_item.rs +++ b/src/auto/completion_item.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT @@ -296,12 +296,14 @@ impl + IsA> CompletionItemExt for O #[cfg(any(feature = "v3_18", feature = "dox"))] unsafe extern "C" fn notify_gicon_trampoline

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

(this: *mut ffi::GtkSourceCompletionItem, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&CompletionItem::from_glib_borrow(this).downcast_unchecked()) } @@ -309,30 +311,35 @@ where P: IsA { #[cfg(any(feature = "v3_18", feature = "dox"))] unsafe extern "C" fn notify_icon_name_trampoline

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

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

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

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

(this: *mut ffi::GtkSourceCompletionItem, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&CompletionItem::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/completion_proposal.rs b/src/auto/completion_proposal.rs index 9c5eac2..f7d4494 100644 --- a/src/auto/completion_proposal.rs +++ b/src/auto/completion_proposal.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT @@ -133,6 +133,7 @@ impl + IsA + glib::object::Obje unsafe extern "C" fn changed_trampoline

(this: *mut ffi::GtkSourceCompletionProposal, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&CompletionProposal::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/completion_provider.rs b/src/auto/completion_provider.rs index 4f60b98..3efc86c 100644 --- a/src/auto/completion_provider.rs +++ b/src/auto/completion_provider.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT diff --git a/src/auto/completion_words.rs b/src/auto/completion_words.rs index 4f87ef0..6e16309 100644 --- a/src/auto/completion_words.rs +++ b/src/auto/completion_words.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT @@ -244,48 +244,56 @@ impl + IsA> CompletionWordsExt for #[cfg(any(feature = "v3_10", feature = "dox"))] unsafe extern "C" fn notify_activation_trampoline

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

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

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

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

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

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

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

(this: *mut ffi::GtkSourceCompletionWords, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&CompletionWords::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/encoding.rs b/src/auto/encoding.rs index 70e6e22..6dedb0c 100644 --- a/src/auto/encoding.rs +++ b/src/auto/encoding.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT diff --git a/src/auto/enums.rs b/src/auto/enums.rs index eab0c1c..c5f031f 100644 --- a/src/auto/enums.rs +++ b/src/auto/enums.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT diff --git a/src/auto/file.rs b/src/auto/file.rs index d4b50d7..64d5136 100644 --- a/src/auto/file.rs +++ b/src/auto/file.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT @@ -246,6 +246,7 @@ impl + IsA> FileExt for O { #[cfg(any(feature = "v3_14", feature = "dox"))] unsafe extern "C" fn notify_compression_type_trampoline

(this: *mut ffi::GtkSourceFile, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&File::from_glib_borrow(this).downcast_unchecked()) } @@ -253,6 +254,7 @@ where P: IsA { #[cfg(any(feature = "v3_14", feature = "dox"))] unsafe extern "C" fn notify_encoding_trampoline

(this: *mut ffi::GtkSourceFile, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&File::from_glib_borrow(this).downcast_unchecked()) } @@ -260,6 +262,7 @@ where P: IsA { #[cfg(any(feature = "v3_14", feature = "dox"))] unsafe extern "C" fn notify_location_trampoline

(this: *mut ffi::GtkSourceFile, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&File::from_glib_borrow(this).downcast_unchecked()) } @@ -267,6 +270,7 @@ where P: IsA { #[cfg(any(feature = "v3_14", feature = "dox"))] unsafe extern "C" fn notify_newline_type_trampoline

(this: *mut ffi::GtkSourceFile, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&File::from_glib_borrow(this).downcast_unchecked()) } @@ -274,6 +278,7 @@ where P: IsA { #[cfg(any(feature = "v3_18", feature = "dox"))] unsafe extern "C" fn notify_read_only_trampoline

(this: *mut ffi::GtkSourceFile, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&File::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/file_loader.rs b/src/auto/file_loader.rs index b950202..6bcf1ee 100644 --- a/src/auto/file_loader.rs +++ b/src/auto/file_loader.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT @@ -78,7 +78,7 @@ pub trait FileLoaderExt { fn get_newline_type(&self) -> NewlineType; //#[cfg(any(feature = "v3_14", feature = "dox"))] - //fn load_async<'a, 'b, 'c, P: Into>, Q: Into>, R: Into>, S: Into>, T: FnOnce(Result<(), Error>) + Send + 'static>(&self, io_priority: i32, cancellable: P, progress_callback: Q, progress_callback_data: R, progress_callback_notify: S, callback: T); + //fn load_async<'a, 'b, 'c, P: Into>, Q: Into>, R: Into>, S: Into>, T: FnOnce(Result<(), Error>) + Send + 'static>(&self, io_priority: /*Ignored*/glib::Priority, cancellable: P, progress_callback: Q, progress_callback_data: R, progress_callback_notify: S, callback: T); #[cfg(any(feature = "v3_14", feature = "dox"))] fn set_candidate_encodings(&self, candidate_encodings: &[&Encoding]); @@ -145,7 +145,7 @@ impl + IsA> FileLoaderExt for O { } //#[cfg(any(feature = "v3_14", feature = "dox"))] - //fn load_async<'a, 'b, 'c, P: Into>, Q: Into>, R: Into>, S: Into>, T: FnOnce(Result<(), Error>) + Send + 'static>(&self, io_priority: i32, cancellable: P, progress_callback: Q, progress_callback_data: R, progress_callback_notify: S, callback: T) { + //fn load_async<'a, 'b, 'c, P: Into>, Q: Into>, R: Into>, S: Into>, T: FnOnce(Result<(), Error>) + Send + 'static>(&self, io_priority: /*Ignored*/glib::Priority, cancellable: P, progress_callback: Q, progress_callback_data: R, progress_callback_notify: S, callback: T) { // unsafe { TODO: call ffi::gtk_source_file_loader_load_async() } //} @@ -196,6 +196,7 @@ impl + IsA> FileLoaderExt for O { #[cfg(any(feature = "v3_14", feature = "dox"))] unsafe extern "C" fn notify_buffer_trampoline

(this: *mut ffi::GtkSourceFileLoader, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&FileLoader::from_glib_borrow(this).downcast_unchecked()) } @@ -203,6 +204,7 @@ where P: IsA { #[cfg(any(feature = "v3_14", feature = "dox"))] unsafe extern "C" fn notify_file_trampoline

(this: *mut ffi::GtkSourceFileLoader, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&FileLoader::from_glib_borrow(this).downcast_unchecked()) } @@ -210,6 +212,7 @@ where P: IsA { #[cfg(any(feature = "v3_14", feature = "dox"))] unsafe extern "C" fn notify_input_stream_trampoline

(this: *mut ffi::GtkSourceFileLoader, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&FileLoader::from_glib_borrow(this).downcast_unchecked()) } @@ -217,6 +220,7 @@ where P: IsA { #[cfg(any(feature = "v3_14", feature = "dox"))] unsafe extern "C" fn notify_location_trampoline

(this: *mut ffi::GtkSourceFileLoader, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&FileLoader::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/file_saver.rs b/src/auto/file_saver.rs index ca4d554..f861fbd 100644 --- a/src/auto/file_saver.rs +++ b/src/auto/file_saver.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT @@ -82,7 +82,7 @@ pub trait FileSaverExt { fn get_newline_type(&self) -> NewlineType; //#[cfg(any(feature = "v3_14", feature = "dox"))] - //fn save_async<'a, 'b, 'c, P: Into>, Q: Into>, R: Into>, S: Into>, T: FnOnce(Result<(), Error>) + Send + 'static>(&self, io_priority: i32, cancellable: P, progress_callback: Q, progress_callback_data: R, progress_callback_notify: S, callback: T); + //fn save_async<'a, 'b, 'c, P: Into>, Q: Into>, R: Into>, S: Into>, T: FnOnce(Result<(), Error>) + Send + 'static>(&self, io_priority: /*Ignored*/glib::Priority, cancellable: P, progress_callback: Q, progress_callback_data: R, progress_callback_notify: S, callback: T); #[cfg(any(feature = "v3_14", feature = "dox"))] fn set_compression_type(&self, compression_type: CompressionType); @@ -169,7 +169,7 @@ impl + IsA> FileSaverExt for O { } //#[cfg(any(feature = "v3_14", feature = "dox"))] - //fn save_async<'a, 'b, 'c, P: Into>, Q: Into>, R: Into>, S: Into>, T: FnOnce(Result<(), Error>) + Send + 'static>(&self, io_priority: i32, cancellable: P, progress_callback: Q, progress_callback_data: R, progress_callback_notify: S, callback: T) { + //fn save_async<'a, 'b, 'c, P: Into>, Q: Into>, R: Into>, S: Into>, T: FnOnce(Result<(), Error>) + Send + 'static>(&self, io_priority: /*Ignored*/glib::Priority, cancellable: P, progress_callback: Q, progress_callback_data: R, progress_callback_notify: S, callback: T) { // unsafe { TODO: call ffi::gtk_source_file_saver_save_async() } //} @@ -270,6 +270,7 @@ impl + IsA> FileSaverExt for O { #[cfg(any(feature = "v3_14", feature = "dox"))] unsafe extern "C" fn notify_buffer_trampoline

(this: *mut ffi::GtkSourceFileSaver, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&FileSaver::from_glib_borrow(this).downcast_unchecked()) } @@ -277,6 +278,7 @@ where P: IsA { #[cfg(any(feature = "v3_14", feature = "dox"))] unsafe extern "C" fn notify_compression_type_trampoline

(this: *mut ffi::GtkSourceFileSaver, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&FileSaver::from_glib_borrow(this).downcast_unchecked()) } @@ -284,6 +286,7 @@ where P: IsA { #[cfg(any(feature = "v3_14", feature = "dox"))] unsafe extern "C" fn notify_encoding_trampoline

(this: *mut ffi::GtkSourceFileSaver, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&FileSaver::from_glib_borrow(this).downcast_unchecked()) } @@ -291,6 +294,7 @@ where P: IsA { #[cfg(any(feature = "v3_14", feature = "dox"))] unsafe extern "C" fn notify_file_trampoline

(this: *mut ffi::GtkSourceFileSaver, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&FileSaver::from_glib_borrow(this).downcast_unchecked()) } @@ -298,6 +302,7 @@ where P: IsA { #[cfg(any(feature = "v3_14", feature = "dox"))] unsafe extern "C" fn notify_flags_trampoline

(this: *mut ffi::GtkSourceFileSaver, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&FileSaver::from_glib_borrow(this).downcast_unchecked()) } @@ -305,6 +310,7 @@ where P: IsA { #[cfg(any(feature = "v3_14", feature = "dox"))] unsafe extern "C" fn notify_location_trampoline

(this: *mut ffi::GtkSourceFileSaver, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&FileSaver::from_glib_borrow(this).downcast_unchecked()) } @@ -312,6 +318,7 @@ where P: IsA { #[cfg(any(feature = "v3_14", feature = "dox"))] unsafe extern "C" fn notify_newline_type_trampoline

(this: *mut ffi::GtkSourceFileSaver, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&FileSaver::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/flags.rs b/src/auto/flags.rs index 9a2358a..583e6b3 100644 --- a/src/auto/flags.rs +++ b/src/auto/flags.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT diff --git a/src/auto/gutter.rs b/src/auto/gutter.rs index d48c280..945e623 100644 --- a/src/auto/gutter.rs +++ b/src/auto/gutter.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT @@ -216,24 +216,28 @@ impl + IsA> GutterExt for O { unsafe extern "C" fn notify_view_trampoline

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

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

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

(this: *mut ffi::GtkSourceGutter, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Gutter::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/gutter_renderer.rs b/src/auto/gutter_renderer.rs index f9f08f6..263e03d 100644 --- a/src/auto/gutter_renderer.rs +++ b/src/auto/gutter_renderer.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT @@ -494,96 +494,112 @@ impl + IsA> GutterRendererExt for O unsafe extern "C" fn activate_trampoline

(this: *mut ffi::GtkSourceGutterRenderer, iter: *mut gtk_ffi::GtkTextIter, area: *mut gdk_ffi::GdkRectangle, event: *mut gdk_ffi::GdkEvent, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, >k::TextIter, &gdk::Rectangle, &gdk::Event) + 'static) = transmute(f); f(&GutterRenderer::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(iter), &from_glib_borrow(area), &from_glib_none(event)) } unsafe extern "C" fn query_activatable_trampoline

(this: *mut ffi::GtkSourceGutterRenderer, iter: *mut gtk_ffi::GtkTextIter, area: *mut gdk_ffi::GdkRectangle, event: *mut gdk_ffi::GdkEvent, f: glib_ffi::gpointer) -> glib_ffi::gboolean where P: IsA { + callback_guard!(); let f: &&(Fn(&P, >k::TextIter, &gdk::Rectangle, &gdk::Event) -> bool + 'static) = transmute(f); f(&GutterRenderer::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(iter), &from_glib_borrow(area), &from_glib_none(event)).to_glib() } unsafe extern "C" fn query_data_trampoline

(this: *mut ffi::GtkSourceGutterRenderer, start: *mut gtk_ffi::GtkTextIter, end: *mut gtk_ffi::GtkTextIter, state: ffi::GtkSourceGutterRendererState, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, >k::TextIter, >k::TextIter, GutterRendererState) + 'static) = transmute(f); f(&GutterRenderer::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(start), &from_glib_borrow(end), from_glib(state)) } unsafe extern "C" fn query_tooltip_trampoline

(this: *mut ffi::GtkSourceGutterRenderer, iter: *mut gtk_ffi::GtkTextIter, area: *mut gdk_ffi::GdkRectangle, x: libc::c_int, y: libc::c_int, tooltip: *mut gtk_ffi::GtkTooltip, f: glib_ffi::gpointer) -> glib_ffi::gboolean where P: IsA { + callback_guard!(); let f: &&(Fn(&P, >k::TextIter, &gdk::Rectangle, i32, i32, >k::Tooltip) -> bool + 'static) = transmute(f); f(&GutterRenderer::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(iter), &from_glib_borrow(area), x, y, &from_glib_borrow(tooltip)).to_glib() } unsafe extern "C" fn queue_draw_trampoline

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

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

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

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

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

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

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

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

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

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

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

(this: *mut ffi::GtkSourceGutterRenderer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&GutterRenderer::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/gutter_renderer_pixbuf.rs b/src/auto/gutter_renderer_pixbuf.rs index 974d088..3daea2c 100644 --- a/src/auto/gutter_renderer_pixbuf.rs +++ b/src/auto/gutter_renderer_pixbuf.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT @@ -162,24 +162,28 @@ impl + IsA> GutterRendererPix unsafe extern "C" fn notify_gicon_trampoline

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

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

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

(this: *mut ffi::GtkSourceGutterRendererPixbuf, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&GutterRendererPixbuf::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/gutter_renderer_text.rs b/src/auto/gutter_renderer_text.rs index b2c6635..e9cfc8b 100644 --- a/src/auto/gutter_renderer_text.rs +++ b/src/auto/gutter_renderer_text.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT @@ -127,12 +127,14 @@ impl + IsA> GutterRendererTextE unsafe extern "C" fn notify_markup_trampoline

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

(this: *mut ffi::GtkSourceGutterRendererText, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&GutterRendererText::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/language.rs b/src/auto/language.rs index d69ad49..44f65f6 100644 --- a/src/auto/language.rs +++ b/src/auto/language.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT @@ -152,24 +152,28 @@ impl + IsA> LanguageExt for O { unsafe extern "C" fn notify_hidden_trampoline

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

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

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

(this: *mut ffi::GtkSourceLanguage, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Language::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/language_manager.rs b/src/auto/language_manager.rs index fb09a58..c75d29c 100644 --- a/src/auto/language_manager.rs +++ b/src/auto/language_manager.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT @@ -115,12 +115,14 @@ impl + IsA> LanguageManagerExt for unsafe extern "C" fn notify_language_ids_trampoline

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

(this: *mut ffi::GtkSourceLanguageManager, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&LanguageManager::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/map.rs b/src/auto/map.rs index d339a12..88a5ac7 100644 --- a/src/auto/map.rs +++ b/src/auto/map.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT @@ -103,6 +103,7 @@ impl + IsA> MapExt for O { unsafe extern "C" fn notify_view_trampoline

(this: *mut ffi::GtkSourceMap, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Map::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/mark.rs b/src/auto/mark.rs index e39fe8a..36dcece 100644 --- a/src/auto/mark.rs +++ b/src/auto/mark.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT @@ -78,6 +78,7 @@ impl + IsA> MarkExt for O { unsafe extern "C" fn notify_category_trampoline

(this: *mut ffi::GtkSourceMark, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Mark::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/mark_attributes.rs b/src/auto/mark_attributes.rs index 7a14dc7..75d69bd 100644 --- a/src/auto/mark_attributes.rs +++ b/src/auto/mark_attributes.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT @@ -224,42 +224,49 @@ impl + IsA> MarkAttributesExt for O unsafe extern "C" fn query_tooltip_markup_trampoline

(this: *mut ffi::GtkSourceMarkAttributes, mark: *mut ffi::GtkSourceMark, f: glib_ffi::gpointer) -> *mut libc::c_char where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &Mark) -> String + 'static) = transmute(f); f(&MarkAttributes::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(mark)).to_glib_full() } unsafe extern "C" fn query_tooltip_text_trampoline

(this: *mut ffi::GtkSourceMarkAttributes, mark: *mut ffi::GtkSourceMark, f: glib_ffi::gpointer) -> *mut libc::c_char where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &Mark) -> String + 'static) = transmute(f); f(&MarkAttributes::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(mark)).to_glib_full() } unsafe extern "C" fn notify_background_trampoline

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

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

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

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

(this: *mut ffi::GtkSourceMarkAttributes, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&MarkAttributes::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/mod.rs b/src/auto/mod.rs index 422d2ed..7ca84af 100644 --- a/src/auto/mod.rs +++ b/src/auto/mod.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT diff --git a/src/auto/print_compositor.rs b/src/auto/print_compositor.rs index d633026..b5559a5 100644 --- a/src/auto/print_compositor.rs +++ b/src/auto/print_compositor.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT @@ -465,72 +465,84 @@ impl + IsA> PrintCompositorExt for unsafe extern "C" fn notify_body_font_name_trampoline

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

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

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

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

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

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

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

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

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

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

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

(this: *mut ffi::GtkSourcePrintCompositor, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&PrintCompositor::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/region.rs b/src/auto/region.rs index 44a6f64..5278865 100644 --- a/src/auto/region.rs +++ b/src/auto/region.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT @@ -184,6 +184,7 @@ impl + IsA> RegionExt for O { #[cfg(any(feature = "v3_22", feature = "dox"))] unsafe extern "C" fn notify_buffer_trampoline

(this: *mut ffi::GtkSourceRegion, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&Region::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/search_context.rs b/src/auto/search_context.rs index f5239e1..ac33c34 100644 --- a/src/auto/search_context.rs +++ b/src/auto/search_context.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT @@ -170,6 +170,7 @@ impl + IsA> SearchContextExt for O { let user_data: Box> = Box::new(Box::new(callback)); unsafe extern "C" fn backward_async_trampoline) + Send + 'static>(_source_object: *mut gobject_ffi::GObject, res: *mut gio_ffi::GAsyncResult, user_data: glib_ffi::gpointer) { + callback_guard!(); let mut error = ptr::null_mut(); let mut match_start = gtk::TextIter::uninitialized(); let mut match_end = gtk::TextIter::uninitialized(); @@ -217,6 +218,7 @@ impl + IsA> SearchContextExt for O { let user_data: Box> = Box::new(Box::new(callback)); unsafe extern "C" fn forward_async_trampoline) + Send + 'static>(_source_object: *mut gobject_ffi::GObject, res: *mut gio_ffi::GAsyncResult, user_data: glib_ffi::gpointer) { + callback_guard!(); let mut error = ptr::null_mut(); let mut match_start = gtk::TextIter::uninitialized(); let mut match_end = gtk::TextIter::uninitialized(); @@ -398,6 +400,7 @@ impl + IsA> SearchContextExt for O { #[cfg(any(feature = "v3_10", feature = "dox"))] unsafe extern "C" fn notify_buffer_trampoline

(this: *mut ffi::GtkSourceSearchContext, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&SearchContext::from_glib_borrow(this).downcast_unchecked()) } @@ -405,6 +408,7 @@ where P: IsA { #[cfg(any(feature = "v3_10", feature = "dox"))] unsafe extern "C" fn notify_highlight_trampoline

(this: *mut ffi::GtkSourceSearchContext, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&SearchContext::from_glib_borrow(this).downcast_unchecked()) } @@ -412,6 +416,7 @@ where P: IsA { #[cfg(any(feature = "v3_16", feature = "dox"))] unsafe extern "C" fn notify_match_style_trampoline

(this: *mut ffi::GtkSourceSearchContext, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&SearchContext::from_glib_borrow(this).downcast_unchecked()) } @@ -419,6 +424,7 @@ where P: IsA { #[cfg(any(feature = "v3_10", feature = "dox"))] unsafe extern "C" fn notify_occurrences_count_trampoline

(this: *mut ffi::GtkSourceSearchContext, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&SearchContext::from_glib_borrow(this).downcast_unchecked()) } @@ -426,6 +432,7 @@ where P: IsA { #[cfg(any(feature = "v3_10", feature = "dox"))] unsafe extern "C" fn notify_regex_error_trampoline

(this: *mut ffi::GtkSourceSearchContext, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&SearchContext::from_glib_borrow(this).downcast_unchecked()) } @@ -433,6 +440,7 @@ where P: IsA { #[cfg(any(feature = "v3_10", feature = "dox"))] unsafe extern "C" fn notify_settings_trampoline

(this: *mut ffi::GtkSourceSearchContext, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&SearchContext::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/search_settings.rs b/src/auto/search_settings.rs index 6caebb5..bc52fc2 100644 --- a/src/auto/search_settings.rs +++ b/src/auto/search_settings.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT @@ -214,6 +214,7 @@ impl + IsA> SearchSettingsExt for O #[cfg(any(feature = "v3_10", feature = "dox"))] unsafe extern "C" fn notify_at_word_boundaries_trampoline

(this: *mut ffi::GtkSourceSearchSettings, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&SearchSettings::from_glib_borrow(this).downcast_unchecked()) } @@ -221,6 +222,7 @@ where P: IsA { #[cfg(any(feature = "v3_10", feature = "dox"))] unsafe extern "C" fn notify_case_sensitive_trampoline

(this: *mut ffi::GtkSourceSearchSettings, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&SearchSettings::from_glib_borrow(this).downcast_unchecked()) } @@ -228,6 +230,7 @@ where P: IsA { #[cfg(any(feature = "v3_10", feature = "dox"))] unsafe extern "C" fn notify_regex_enabled_trampoline

(this: *mut ffi::GtkSourceSearchSettings, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&SearchSettings::from_glib_borrow(this).downcast_unchecked()) } @@ -235,6 +238,7 @@ where P: IsA { #[cfg(any(feature = "v3_10", feature = "dox"))] unsafe extern "C" fn notify_search_text_trampoline

(this: *mut ffi::GtkSourceSearchSettings, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&SearchSettings::from_glib_borrow(this).downcast_unchecked()) } @@ -242,6 +246,7 @@ where P: IsA { #[cfg(any(feature = "v3_10", feature = "dox"))] unsafe extern "C" fn notify_wrap_around_trampoline

(this: *mut ffi::GtkSourceSearchSettings, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&SearchSettings::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/space_drawer.rs b/src/auto/space_drawer.rs index 569b89c..30fc8b5 100644 --- a/src/auto/space_drawer.rs +++ b/src/auto/space_drawer.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT @@ -154,6 +154,7 @@ impl + IsA> SpaceDrawerExt for O { #[cfg(any(feature = "v3_24", feature = "dox"))] unsafe extern "C" fn notify_enable_matrix_trampoline

(this: *mut ffi::GtkSourceSpaceDrawer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&SpaceDrawer::from_glib_borrow(this).downcast_unchecked()) } @@ -161,6 +162,7 @@ where P: IsA { #[cfg(any(feature = "v3_24", feature = "dox"))] unsafe extern "C" fn notify_matrix_trampoline

(this: *mut ffi::GtkSourceSpaceDrawer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + 'static) = transmute(f); f(&SpaceDrawer::from_glib_borrow(this).downcast_unchecked()) } diff --git a/src/auto/style.rs b/src/auto/style.rs index 5d144cc..2bf4c91 100644 --- a/src/auto/style.rs +++ b/src/auto/style.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT @@ -415,114 +415,133 @@ impl + IsA> StyleExt for O { unsafe extern "C" fn notify_background_trampoline

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