Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sdroege/gst-plugin-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2022-09-05 11:45:47 +0300
committerSebastian Dröge <sebastian@centricular.com>2022-09-05 11:45:47 +0300
commit1a401864856022be9103253e7374bde51aa1a226 (patch)
treefb2a4646bb28e4a0e9142ba0c296114ee4014d85 /text/ahead
parent3924e2e563320ab2669befe2dd0ab9324f325353 (diff)
Update for GLib ParamSpec builder API changes
Diffstat (limited to 'text/ahead')
-rw-r--r--text/ahead/src/textahead/imp.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/text/ahead/src/textahead/imp.rs b/text/ahead/src/textahead/imp.rs
index b658fcf8..61bb0277 100644
--- a/text/ahead/src/textahead/imp.rs
+++ b/text/ahead/src/textahead/imp.rs
@@ -116,20 +116,20 @@ impl ObjectImpl for TextAhead {
glib::ParamSpecString::builder("separator")
.nick("Separator")
.blurb("Text inserted between each text buffers")
- .default_value(Some(&default.separator))
+ .default_value(&*default.separator)
.mutable_playing()
.build(),
// See https://developer.gimp.org/api/2.0/pango/PangoMarkupFormat.html for pango attributes
glib::ParamSpecString::builder("current-attributes")
.nick("Current attributes")
.blurb("Pango span attributes to set on the text from the current buffer")
- .default_value(Some(&default.current_attributes))
+ .default_value(&*default.current_attributes)
.mutable_playing()
.build(),
glib::ParamSpecString::builder("ahead-attributes")
.nick("Ahead attributes")
.blurb("Pango span attributes to set on the ahead text")
- .default_value(Some(&default.ahead_attributes))
+ .default_value(&*default.ahead_attributes)
.mutable_playing()
.build(),
glib::ParamSpecBoolean::builder("buffer-start-segment")