[gtk] textlayout: Remove some outdated comments



commit 0bd939624ea73f7cd9ca88bcd73015492073210c
Author: Timm Bäder <mail baedert org>
Date:   Sun Jul 21 10:02:30 2019 +0200

    textlayout: Remove some outdated comments
    
    These two members have been commented out for 19 years.

 gtk/gtktextlayoutprivate.h | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)
---
diff --git a/gtk/gtktextlayoutprivate.h b/gtk/gtktextlayoutprivate.h
index 8af8465349..ee7c5759b4 100644
--- a/gtk/gtktextlayoutprivate.h
+++ b/gtk/gtktextlayoutprivate.h
@@ -113,14 +113,6 @@ struct _GtkTextLayout
   gint width;
   gint height;
 
-  /* Pixel offsets from the left and from the top to be used when we
-   * draw; these allow us to create left/top margins. We don't need
-   * anything special for bottom/right margins, because those don't
-   * affect drawing.
-   */
-  /* gint left_edge; */
-  /* gint top_edge; */
-
   GtkTextBuffer *buffer;
 
   gint left_padding;
@@ -145,7 +137,7 @@ struct _GtkTextLayout
 
   /* Whether we are allowed to wrap right now */
   gint wrap_loop_count;
-  
+
   /* Whether to show the insertion cursor */
   guint cursor_visible : 1;
 


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