diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-12-06 23:18:04 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-12-06 23:18:04 +0000 |
commit | 5b6f118ba4b87c2d9ba834620b11c3f44119dce1 (patch) | |
tree | 90ce4f23ba2d470633b7c038cc9c0b40b875a0ce /examples | |
parent | f3507cc8cf4106cd4731c57b32092f5362883bdd (diff) | |
download | pango-5b6f118ba4b87c2d9ba834620b11c3f44119dce1.tar.gz |
Set context language to pango_language_get_default() instead of hardcoding
2006-12-06 Behdad Esfahbod <behdad@gnome.org>
* examples/renderdemo.c (do_output): Set context language to
pango_language_get_default() instead of hardcoding "en-US".
* pango/pango-utils.c (pango_language_get_default): Improve docs.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/renderdemo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/renderdemo.c b/examples/renderdemo.c index 17b50612..d94053f7 100644 --- a/examples/renderdemo.c +++ b/examples/renderdemo.c @@ -274,7 +274,7 @@ do_output (PangoContext *context, set_transform (context, transform_cb, cb_context, cb_data, NULL); - pango_context_set_language (context, pango_language_from_string ("en_US")); + pango_context_set_language (context, pango_language_get_default ()); pango_context_set_base_dir (context, opt_rtl ? PANGO_DIRECTION_RTL : PANGO_DIRECTION_LTR); |