[gtk/matthiasc/for-master] getting desperate
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master] getting desperate
- Date: Sun, 12 Apr 2020 18:49:38 +0000 (UTC)
commit cc2339f04db449e81547fb8b7d6df09509ee4198
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Apr 12 14:48:55 2020 -0400
getting desperate
gtk/gtkstylecontext.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index 13b78ec585..a96cb1ff83 100644
--- a/gtk/gtkstylecontext.c
+++ b/gtk/gtkstylecontext.c
@@ -1361,6 +1361,8 @@ gtk_snapshot_render_insertion_cursor (GtkSnapshot *snapshot,
keyboard = gdk_seat_get_keyboard (gdk_display_get_default_seat (priv->display));
keyboard_direction = gdk_device_get_direction (keyboard);
+ printf ("# index %d, aspect %f, text '%s'\n",
+ index, aspect_ratio, pango_layout_get_text (layout));
pango_layout_get_cursor_pos (layout, index, &strong_pos, &weak_pos);
direction2 = PANGO_DIRECTION_NEUTRAL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]