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

Issue 4801081: Add create-engine signal in IBusFactory for non-C applications. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 10 months ago by fujiwara
Modified:
12 years, 10 months ago
Reviewers:
shawn.p.huang
CC:
shawn.p.huang_gmail.com
Base URL:
git://github.com/ibus/ibus.git@master
Visibility:
Public.

Description

Add create-engine signal in IBusFactory for non-C applications. TEST=Linux desktop Separated from CL #4853041.

Patch Set 1 #

Total comments: 3

Patch Set 2 : Implemented IBusFactoryClass.create_engine #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -12 lines) Patch
M src/ibusfactory.h View 2 chunks +6 lines, -1 line 0 comments Download
M src/ibusfactory.c View 1 7 chunks +89 lines, -8 lines 2 comments Download
M src/ibusmarshalers.list View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/ibusservice.h View 1 2 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 9
fujiwara
12 years, 10 months ago (2011-08-06 16:14:30 UTC) #1
Peng
http://codereview.appspot.com/4801081/diff/1/src/ibusfactory.c File src/ibusfactory.c (right): http://codereview.appspot.com/4801081/diff/1/src/ibusfactory.c#newcode121 src/ibusfactory.c:121: factory_signals[CREATE_ENGINE] = Please add inline gtk document here. http://codereview.appspot.com/4801081/diff/1/src/ibusfactory.c#newcode207 ...
12 years, 10 months ago (2011-08-06 18:24:41 UTC) #2
Peng
http://codereview.appspot.com/4801081/diff/1/src/ibusfactory.c File src/ibusfactory.c (right): http://codereview.appspot.com/4801081/diff/1/src/ibusfactory.c#newcode207 src/ibusfactory.c:207: gchar *engine_name = NULL; On 2011/08/06 18:24:41, Peng wrote: ...
12 years, 10 months ago (2011-08-08 20:17:49 UTC) #3
fujiwara
On 2011/08/08 20:17:49, Peng wrote: > http://codereview.appspot.com/4801081/diff/1/src/ibusfactory.c > File src/ibusfactory.c (right): > > http://codereview.appspot.com/4801081/diff/1/src/ibusfactory.c#newcode207 > ...
12 years, 10 months ago (2011-08-09 01:13:50 UTC) #4
Peng
On 2011/08/09 01:13:50, fujiwara wrote: > On 2011/08/08 20:17:49, Peng wrote: > > http://codereview.appspot.com/4801081/diff/1/src/ibusfactory.c > ...
12 years, 10 months ago (2011-08-09 02:30:58 UTC) #5
Peng
On 2011/08/09 01:13:50, fujiwara wrote: > On 2011/08/08 20:17:49, Peng wrote: > > http://codereview.appspot.com/4801081/diff/1/src/ibusfactory.c > ...
12 years, 10 months ago (2011-08-09 02:30:59 UTC) #6
fujiwara
On 2011/08/09 02:30:59, Peng wrote: > That's right. This function should update the engine_list, and ...
12 years, 10 months ago (2011-08-09 02:43:30 UTC) #7
fujiwara
On 2011/08/09 02:43:30, fujiwara wrote: > On 2011/08/09 02:30:59, Peng wrote: > > That's right. ...
12 years, 10 months ago (2011-08-12 10:19:35 UTC) #8
Peng
12 years, 10 months ago (2011-08-12 13:11:34 UTC) #9
LGTM except some minor comments. Please fix them and use git cl push to commit
CL.

Thanks for the CL.

http://codereview.appspot.com/4801081/diff/8001/src/ibusfactory.c
File src/ibusfactory.c (right):

http://codereview.appspot.com/4801081/diff/8001/src/ibusfactory.c#newcode127
src/ibusfactory.c:127: _ibus_factory_accumulator_non_null_wins
(GSignalInvocationHint *ihint,
The name is little unclear. Could you rename it to
_ibus_factory_create_engine_accumulator?

http://codereview.appspot.com/4801081/diff/8001/src/ibusfactory.c#newcode274
src/ibusfactory.c:274: if (engine_type == G_TYPE_INVALID) {
Use engine != NULL is enough here. gobject will check the signal return type
base on the signal define.
Sign in to reply to this message.

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