[gtk/pango2: 80/91] Fixups
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/pango2: 80/91] Fixups
- Date: Mon, 4 Jul 2022 14:13:32 +0000 (UTC)
commit 513a56fc09076804eb5d979a5ff4caec3b95f3e6
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jun 18 15:49:16 2022 -0700
Fixups
gtk/gtktextbuffer.c | 3 +--
gtk/gtktextlayout.c | 1 -
gtk/gtktexttag.c | 1 -
3 files changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/gtk/gtktextbuffer.c b/gtk/gtktextbuffer.c
index 5cda519c0a..63f716970c 100644
--- a/gtk/gtktextbuffer.c
+++ b/gtk/gtktextbuffer.c
@@ -4619,7 +4619,7 @@ insert_tags_for_attributes (GtkTextBuffer *buffer,
break;
case PANGO_ATTR_FONT_DESC:
- FONT_ATTR (font-desc);
+ FONT_ATTR (font_desc);
break;
case PANGO_ATTR_FOREGROUND:
@@ -4635,7 +4635,6 @@ insert_tags_for_attributes (GtkTextBuffer *buffer,
break;
case PANGO_ATTR_UNDERLINE_POSITION:
- g_print ("insert underline-position\n");
INT_ATTR (underline_position);
break;
diff --git a/gtk/gtktextlayout.c b/gtk/gtktextlayout.c
index 06e97fac10..86395865a9 100644
--- a/gtk/gtktextlayout.c
+++ b/gtk/gtktextlayout.c
@@ -1479,7 +1479,6 @@ add_generic_attrs (GtkTextLayout *layout,
{
attr = pango_attr_underline_position_new (appearance->underline_position);
- g_print ("add underline-position\n");
attr->start_index = start;
attr->end_index = start + byte_count;
diff --git a/gtk/gtktexttag.c b/gtk/gtktexttag.c
index 2f31ba995d..7f8dbcef23 100644
--- a/gtk/gtktexttag.c
+++ b/gtk/gtktexttag.c
@@ -1568,7 +1568,6 @@ gtk_text_tag_set_property (GObject *object,
case PROP_UNDERLINE_POSITION:
priv->underline_position_set = TRUE;
- g_print ("set underline position tag\n");
priv->values->appearance.underline_position = g_value_get_enum (value);
g_object_notify (object, "underline-position-set");
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]