summarylogtreecommitdiffstats
path: root/2012.patch
diff options
context:
space:
mode:
authorAntonio Rojas2019-04-03 06:33:51 +0000
committerAntonio Rojas2019-04-03 06:33:51 +0000
commit5e22d95201097957a52172a43b94ddee873a8f45 (patch)
treeb4027f02bda4f89882ff43d22a44235ad3137455 /2012.patch
downloadaur-5e22d95201097957a52172a43b94ddee873a8f45.tar.gz
Dropped from repos
Diffstat (limited to '2012.patch')
-rw-r--r--2012.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/2012.patch b/2012.patch
new file mode 100644
index 000000000000..cc837fa5190f
--- /dev/null
+++ b/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