diff options
author | root <root@rshg054.dnsready.net> | 2012-08-17 00:02:31 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-08-17 00:02:31 +0000 |
commit | 4a701d607c90ab5fdadbbe59b468df93e4293244 (patch) | |
tree | 57a9c0d8bbf45a06212aa95c3a4aef3a3e2bc346 /extra/scim-hangul/2012.patch | |
parent | 0fc1870f2eadde8cb06004be1cbe8d1a4333aa69 (diff) |
Fri Aug 17 00:02:30 UTC 2012
Diffstat (limited to 'extra/scim-hangul/2012.patch')
-rw-r--r-- | extra/scim-hangul/2012.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/extra/scim-hangul/2012.patch b/extra/scim-hangul/2012.patch new file mode 100644 index 000000000..cc837fa51 --- /dev/null +++ b/extra/scim-hangul/2012.patch @@ -0,0 +1,23 @@ +diff -aur old/src/scim_hangul_imengine.cpp new/src/scim_hangul_imengine.cpp +--- old/src/scim_hangul_imengine.cpp 2012-08-16 01:33:25.996258740 +1000 ++++ new/src/scim_hangul_imengine.cpp 2012-08-16 01:33:41.932950046 +1000 +@@ -33,6 +33,7 @@ + #include <config.h> + #endif + ++#include <unistd.h> + #include <cstring> + #include <scim.h> + #include "scim_hangul_imengine.h" +diff -aur old/src/scim_hangul_imengine_setup.cpp new/src/scim_hangul_imengine_setup.cpp +--- old/src/scim_hangul_imengine_setup.cpp 2012-08-16 01:33:25.996258740 +1000 ++++ new/src/scim_hangul_imengine_setup.cpp 2012-08-16 01:43:39.823860324 +1000 +@@ -346,7 +346,7 @@ + for (i = 0; i < n; i++) { + const char* name = hangul_ic_get_keyboard_name(i); + #if GTK_CHECK_VERSION(2, 24, 0) +- gtk_combo_box_text_append(GTK_COMBO_BOX_TEXT(combo_box), NULL, name); ++ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(combo_box), name); + #else + gtk_combo_box_append_text(GTK_COMBO_BOX(combo_box), name); + #endif |