[fractal/fractal-next] message-media: Fix obsolete docs



commit 8a541649ed60a758e721a60213a864186c170e53
Author: Kévin Commaille <zecakeh tedomum fr>
Date:   Sat Dec 25 11:33:32 2021 +0100

    message-media: Fix obsolete docs

 src/session/content/room_history/message_row/media.rs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/session/content/room_history/message_row/media.rs 
b/src/session/content/room_history/message_row/media.rs
index 996f32d3..a7cbad5a 100644
--- a/src/session/content/room_history/message_row/media.rs
+++ b/src/session/content/room_history/message_row/media.rs
@@ -69,9 +69,9 @@ mod imp {
     #[derive(Debug, Default, CompositeTemplate)]
     #[template(resource = "/org/gnome/FractalNext/content-message-media.ui")]
     pub struct MessageMedia {
-        /// The intended display width of the full image.
+        /// The intended display width of the media.
         pub width: Cell<i32>,
-        /// The intended display height of the full image.
+        /// The intended display height of the media.
         pub height: Cell<i32>,
         /// The state of the media.
         pub state: Cell<MediaState>,
@@ -229,7 +229,7 @@ mod imp {
                 let width = if original_height > 0 && original_width > 0 {
                     height * original_width / original_height
                 } else {
-                    // Get the natural width of the image data.
+                    // Get the natural width of the media data.
                     child.measure(gtk::Orientation::Horizontal, height).1
                 };
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]