mirror of
https://github.com/brl/mutter.git
synced 2025-01-11 12:12:25 +00:00
background: set_file accepts NULL files
https://gitlab.gnome.org/GNOME/mutter/merge_requests/941
This commit is contained in:
parent
4cccba5cac
commit
5582d7b3be
@ -943,6 +943,14 @@ meta_background_set_gradient (MetaBackground *self,
|
||||
mark_changed (self);
|
||||
}
|
||||
|
||||
/**
|
||||
* meta_background_set_file:
|
||||
* @self: a #MetaBackground
|
||||
* @file: (nullable): a #GFile representing the background file
|
||||
* @style: the background style to apply
|
||||
*
|
||||
* Set the background to @file
|
||||
*/
|
||||
void
|
||||
meta_background_set_file (MetaBackground *self,
|
||||
GFile *file,
|
||||
|
Loading…
Reference in New Issue
Block a user