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

Issue 4700048: Fix GObject ref/unref issues. (Closed)

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

Description

Fix GObject ref/unref issues. BUG=none TEST=manual

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M bus/registry.c View 2 chunks +3 lines, -2 lines 0 comments Download
M bus/test-client.c View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 2
Daiki Ueno
As BusFactoryProxy and IBusInputContext are no longer derived from IBusObject, g_object_ref_sink is not needed after ...
12 years, 11 months ago (2011-07-14 02:54:23 UTC) #1
Peng
12 years, 11 months ago (2011-07-14 12:34:19 UTC) #2
On 2011/07/14 02:54:23, Daiki Ueno wrote:
> As BusFactoryProxy and IBusInputContext are no longer derived from IBusObject,
> g_object_ref_sink is not needed after creation.
> 
> Adding ref_sink to buscomp in bus_registry_load_in_dir is for consistency with
> bus_registry_load_cache.
> 
> BTW, I created systemtap probes to check IBusProxy refs.  The log looks mostly
> good so far (after the patch is applied):
> 
> http://ueno.fedorapeople.org/ibus-stap/

LGTM. Please use git cl push to submit the CL. Thx
Sign in to reply to this message.

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