Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(790)

Issue 115263: Suppress Gtk warnings like... (Closed)

Created:
11 years, 7 months ago by hamaji
Modified:
9 years, 5 months ago
Reviewers:
tony
CC:
chromium-reviews_googlegroups.com
Base URL:
svn://chrome-svn.corp.google.com/chrome/trunk/src/
Visibility:
Public.

Description

Suppress Gtk warnings like (test_shell:2476): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/immodules/im-uim.so: wrong ELF class: ELFCLASS64 (test_shell:2476): Gtk-WARNING **: Loading IM context type 'uim' failed This happens when Gtk tries to open 64 bit shared object from 32 bit binaries. As this change suppress warnings only when the above three lines come the same order, we can still see other important warnings. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=15973

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 2

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -0 lines) Patch
M webkit/tools/test_shell/test_shell_platform_delegate_gtk.cc View 3 4 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
hamaji
11 years, 7 months ago (2009-05-12 21:23:18 UTC) #1
tony
Does this cause layout tests to fail? Can we disable IMEs from within test shell ...
11 years, 7 months ago (2009-05-12 21:28:39 UTC) #2
hamaji
On 2009/05/12 21:28:39, tony wrote: > Does this cause layout tests to fail? Can we ...
11 years, 7 months ago (2009-05-12 21:52:51 UTC) #3
tony
Can we disable IME by setting some environment variables before we launch test_shell in run_webkit_tests.py ...
11 years, 7 months ago (2009-05-12 22:15:11 UTC) #4
hamaji
On 2009/05/12 22:15:11, tony wrote: > Can we disable IME by setting some environment variables ...
11 years, 7 months ago (2009-05-12 22:45:07 UTC) #5
tony
Maybe another way to handle this is to have a custom glib log handler using ...
11 years, 7 months ago (2009-05-12 23:02:23 UTC) #6
hamaji
On 2009/05/12 23:02:23, tony wrote: > Maybe another way to handle this is to have ...
11 years, 7 months ago (2009-05-13 16:40:12 UTC) #7
tony
LGTM! http://codereview.chromium.org/115263/diff/10/1007 File webkit/tools/test_shell/test_shell_platform_delegate_gtk.cc (right): http://codereview.chromium.org/115263/diff/10/1007#newcode35 Line 35: g_log_set_handler("Gtk", Nit: Can this all fit on ...
11 years, 7 months ago (2009-05-13 17:12:34 UTC) #8
hamaji
11 years, 7 months ago (2009-05-13 17:58:36 UTC) #9
Fixed. Thanks for the review and suggestions! I'll submit after tree opens.

http://codereview.chromium.org/115263/diff/10/1007
File webkit/tools/test_shell/test_shell_platform_delegate_gtk.cc (right):

http://codereview.chromium.org/115263/diff/10/1007#newcode35
Line 35: g_log_set_handler("Gtk",
On 2009/05/13 17:12:34, tony wrote:
> Nit: Can this all fit on one line?

Done.

Powered by Google App Engine
This is Rietveld 408576698