summaryrefslogtreecommitdiff
blob: 0444bb2e6dd932742f3cb0ccb256ec1e61ed1481 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
 Update libtomoe-gtk to gucharmap-2 API
 https://bugs.gentoo.org/show_bug.cgi?id=243160

 scim_tomoe_prefs_widget.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/src/scim_tomoe_prefs_widget.cpp	2008-12-06 16:40:15.000000000 +0100
+++ b/src/scim_tomoe_prefs_widget.cpp	2008-12-06 17:01:19.000000000 +0100
@@ -473,9 +473,9 @@
         String (SCIM_TOMOE_CONFIG_UNICODE_TABLE_FONT_DEFAULT));
 
     if (font.length() > 0) {
-        gucharmap_charmap_set_font (charmap, font.c_str ());
+        gucharmap_charmap_set_font_desc (charmap, pango_font_description_from_string(font.c_str ()));
     } else {
-        gucharmap_charmap_set_font (charmap, NULL);
+        gucharmap_charmap_set_font_desc (charmap, pango_font_description_from_string(NULL));
         set_default_font (prefs, SCIM_TOMOE_CONFIG_CAND_FONT,
                           GTK_WIDGET (charmap));
     }