[gtk/matthiasc/for-master: 8/9] Cosmetics
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 8/9] Cosmetics
- Date: Fri, 19 Mar 2021 05:22:15 +0000 (UTC)
commit 21aa8ae29fa96db4d0eeab209b4f2f3dcf9d8f3e
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Mar 18 20:30:07 2021 -0400
Cosmetics
Remove a stale comment.
gtk/gtktextlayoutprivate.h | 14 +++-----------
1 file 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]