[gtk/pango2: 79/91] Port Quartz code to pango 2
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/pango2: 79/91] Port Quartz code to pango 2
- Date: Mon, 4 Jul 2022 14:13:32 +0000 (UTC)
commit 24cc2a5e04be2b87b3e754d9fbe1e89ebd4519ff
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jun 18 15:34:57 2022 -0700
Port Quartz code to pango 2
gtk/gtkimcontextquartz.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkimcontextquartz.c b/gtk/gtkimcontextquartz.c
index 9adf39200b..85ed794952 100644
--- a/gtk/gtkimcontextquartz.c
+++ b/gtk/gtkimcontextquartz.c
@@ -91,9 +91,9 @@ quartz_get_preedit_string (GtkIMContext *context,
if (i >= qc->cursor_index &&
i < qc->cursor_index + qc->selected_len)
- attr = pango_attr_underline_new (PANGO_UNDERLINE_DOUBLE);
+ attr = pango_attr_underline_new (PANGO_LINE_STYLE_DOUBLE);
else
- attr = pango_attr_underline_new (PANGO_UNDERLINE_SINGLE);
+ attr = pango_attr_underline_new (PANGO_LINE_STYLE_SOLID);
attr->start_index = s - *str;
if (!*ch)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]