diff options
Diffstat (limited to 'app-i18n/scim-tomoe/files/scim-tomoe-0.6.0-gucharmap2.patch')
-rw-r--r-- | app-i18n/scim-tomoe/files/scim-tomoe-0.6.0-gucharmap2.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app-i18n/scim-tomoe/files/scim-tomoe-0.6.0-gucharmap2.patch b/app-i18n/scim-tomoe/files/scim-tomoe-0.6.0-gucharmap2.patch new file mode 100644 index 000000000000..0444bb2e6dd9 --- /dev/null +++ b/app-i18n/scim-tomoe/files/scim-tomoe-0.6.0-gucharmap2.patch @@ -0,0 +1,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)); + } |