Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(7210)

Issue 2640041: Destroy existing connection before creating a new connection, and only create the fake context once. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 6 months ago by Peng Huang
Modified:
13 years, 6 months ago
Reviewers:
Yusuke Sato, satorux
Base URL:
git@github.com:/ibus/ibus.git
Visibility:
Public.

Description

Destroy existing connection before creating a new connection, and only create the fake context once. BUG=chromium-os:7998 TEST=manual

Patch Set 1 #

Total comments: 6

Patch Set 2 : Update changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -21 lines) Patch
M client/gtk2/ibusimcontext.c View 1 3 chunks +11 lines, -6 lines 0 comments Download
M src/ibusbus.c View 2 chunks +4 lines, -15 lines 0 comments Download

Messages

Total messages: 4
Peng Huang
13 years, 6 months ago (2010-10-21 05:51:00 UTC) #1
Yusuke Sato
basically looks good to me, but i have 2 questions: http://codereview.appspot.com/2640041/diff/1/client/gtk2/ibusimcontext.c File client/gtk2/ibusimcontext.c (right): http://codereview.appspot.com/2640041/diff/1/client/gtk2/ibusimcontext.c#newcode357 ...
13 years, 6 months ago (2010-10-21 06:15:47 UTC) #2
Peng Huang
http://codereview.appspot.com/2640041/diff/1/client/gtk2/ibusimcontext.c File client/gtk2/ibusimcontext.c (right): http://codereview.appspot.com/2640041/diff/1/client/gtk2/ibusimcontext.c#newcode357 client/gtk2/ibusimcontext.c:357: /* init the global fake context */ On 2010/10/21 ...
13 years, 6 months ago (2010-10-21 07:42:10 UTC) #3
Yusuke Sato
13 years, 6 months ago (2010-10-21 08:12:22 UTC) #4
LGTM, thanks for working on it.

http://codereview.appspot.com/2640041/diff/1/client/gtk2/ibusimcontext.c
File client/gtk2/ibusimcontext.c (right):

http://codereview.appspot.com/2640041/diff/1/client/gtk2/ibusimcontext.c#newc...
client/gtk2/ibusimcontext.c:357: /* init the global fake context */
On 2010/10/21 07:42:10, Peng Huang wrote:
> On 2010/10/21 06:15:48, Yusuke Sato wrote:
> > You mean ibus_im_context_class_init() could be called twice or more, right? 
> > (Suppose it's true) I'm still wondering when it happens...
> 
> I found chromeos will call class_init twice. But I don't know why. I will
> investigate it later.
> 

Please file an issue on http://crosbug.com/ just in case.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b