diff options
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 |