File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 11import Gio from "gi://Gio" ;
2+ import Gtk from "gi://Gtk?version=4.0" ;
23
3- const picture_fill = workbench . builder . get_object ( "picture_fill" ) ;
4- const picture_contain = workbench . builder . get_object ( "picture_contain" ) ;
5- const picture_cover = workbench . builder . get_object ( "picture_cover" ) ;
6- const picture_scale_down = workbench . builder . get_object ( "picture_scale_down" ) ;
4+ const picture_fill = workbench . builder . get_object < Gtk . Picture > ( "picture_fill" ) ;
5+ const picture_contain = workbench . builder . get_object < Gtk . Picture > (
6+ "picture_contain" ,
7+ ) ;
8+ const picture_cover = workbench . builder . get_object < Gtk . Picture > (
9+ "picture_cover" ,
10+ ) ;
11+ const picture_scale_down = workbench . builder . get_object < Gtk . Picture > (
12+ "picture_scale_down" ,
13+ ) ;
714
815const file = Gio . File . new_for_uri ( workbench . resolve ( "./keys.png" ) ) ;
916
You can’t perform that action at this time.
0 commit comments