summaryrefslogtreecommitdiff
path: root/japanese/jmode/files/patch-src_kkconv.h
blob: e823de974b7746a5b0bafc05fec05402f729ea95 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- src/kkconv.h.orig	2018-02-10 10:12:06 UTC
+++ src/kkconv.h
@@ -82,7 +82,7 @@ protected:
 class XimIC;
 class KKConv {
 public:
-    virtual char **getIcon()=0;
+    virtual const char **getIcon()=0;
     virtual void onPushIcon()=0;
     virtual KKContext *createContext(XimIC *)=0;
     virtual char *getModeName(int )=0;
@@ -105,7 +105,7 @@ struct Candidates {
 
 bool init_conv();
 KKContext *createKKContext(XimIC *);
-char **getKKIcon();
+const char **getKKIcon();
 void onPushIcon();
 
 void register_kkconv(KKConv *);