From 8faedb0e895a3b88d1f4be9706fdc5cae7babae6 Mon Sep 17 00:00:00 2001 From: elkowar <5300871+elkowar@users.noreply.github.com> Date: Tue, 17 Aug 2021 12:04:42 +0200 Subject: [PATCH] Fix documentation on literal widget --- crates/eww/src/widgets/widget_definitions.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/eww/src/widgets/widget_definitions.rs b/crates/eww/src/widgets/widget_definitions.rs index 0f255ad..50f9a64 100644 --- a/crates/eww/src/widgets/widget_definitions.rs +++ b/crates/eww/src/widgets/widget_definitions.rs @@ -557,7 +557,7 @@ fn build_gtk_label(bargs: &mut BuilderArgs) -> Result { } /// @widget literal -/// @desc A widget that allows you to render arbitrary XML. +/// @desc A widget that allows you to render arbitrary yuck. fn build_gtk_literal(bargs: &mut BuilderArgs) -> Result { let gtk_widget = gtk::Box::new(gtk::Orientation::Vertical, 0); gtk_widget.set_widget_name("literal"); @@ -571,7 +571,7 @@ fn build_gtk_literal(bargs: &mut BuilderArgs) -> Result { let literal_file_id: Rc>> = Rc::new(RefCell::new(None)); resolve_block!(bargs, gtk_widget, { - // @prop content - inline Eww XML that will be rendered as a widget. + // @prop content - inline yuck that will be rendered as a widget. prop(content: as_string) { gtk_widget.get_children().iter().for_each(|w| gtk_widget.remove(w)); if !content.is_empty() {