File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -1843,6 +1843,12 @@ status = "generate"
1843
1843
[[object .function ]]
1844
1844
name = " push_debug"
1845
1845
manual = true # ignore format args
1846
+ [[object .function ]]
1847
+ # Drop once https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4413 is merged
1848
+ # on the next gir-files update
1849
+ pattern = " to_(node|paintable)"
1850
+ [object .function .return ]
1851
+ nullable = true
1846
1852
1847
1853
[[object ]]
1848
1854
name = " Gtk.SpinButton"
Original file line number Diff line number Diff line change @@ -502,12 +502,12 @@ impl Snapshot {
502
502
}
503
503
504
504
#[ doc( alias = "gtk_snapshot_to_node" ) ]
505
- pub fn to_node ( & self ) -> gsk:: RenderNode {
505
+ pub fn to_node ( & self ) -> Option < gsk:: RenderNode > {
506
506
unsafe { from_glib_full ( ffi:: gtk_snapshot_to_node ( self . to_glib_none ( ) . 0 ) ) }
507
507
}
508
508
509
509
#[ doc( alias = "gtk_snapshot_to_paintable" ) ]
510
- pub fn to_paintable ( & self , size : Option < & graphene:: Size > ) -> gdk:: Paintable {
510
+ pub fn to_paintable ( & self , size : Option < & graphene:: Size > ) -> Option < gdk:: Paintable > {
511
511
unsafe {
512
512
from_glib_full ( ffi:: gtk_snapshot_to_paintable (
513
513
self . to_glib_none ( ) . 0 ,
You can’t perform that action at this time.
0 commit comments