summarylogtreecommitdiffstats
path: root/2012.patch
blob: cc837fa5190f84e349a149af907024b3b93b6a95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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