summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-03-18 20:30:07 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-03-18 22:53:37 -0400
commit21aa8ae29fa96db4d0eeab209b4f2f3dcf9d8f3e (patch)
tree122a8a464619528811cab9748ea0b8c4098929a5
parent4fce3ceffc24e11373de038caf829076c94d84ae (diff)
downloadgtk+-21aa8ae29fa96db4d0eeab209b4f2f3dcf9d8f3e.tar.gz
Cosmetics
Remove a stale comment.
-rw-r--r--gtk/gtktextlayoutprivate.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/gtk/gtktextlayoutprivate.h b/gtk/gtktextlayoutprivate.h
index 368cfd0940..c1a8ed92a5 100644
--- a/gtk/gtktextlayoutprivate.h
+++ b/gtk/gtktextlayoutprivate.h
@@ -113,19 +113,11 @@ struct _GtkTextLayout
int width;
int 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.
- */
- /* int left_edge; */
- /* int top_edge; */
-
- GtkTextBuffer *buffer;
-
int left_padding;
int right_padding;
+ GtkTextBuffer *buffer;
+
/* Default style used if no tags override it */
GtkTextAttributes *default_style;
@@ -140,7 +132,7 @@ struct _GtkTextLayout
/* Whether we are allowed to wrap right now */
int wrap_loop_count;
-
+
/* Whether to show the insertion cursor */
guint cursor_visible : 1;