From b8458d9d67cf9b4246ff5326378bf67d40ed5595 Mon Sep 17 00:00:00 2001 From: "estade@chromium.org" Date: Wed, 29 Apr 2009 00:40:00 +0000 Subject: Suppress a GTK warning and file a bug for it. BUG=11133 Review URL: http://codereview.chromium.org/99153 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14811 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/app/chrome_dll_main.cc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'chrome/app') diff --git a/chrome/app/chrome_dll_main.cc b/chrome/app/chrome_dll_main.cc index 1cb9e40..78d2e98 100644 --- a/chrome/app/chrome_dll_main.cc +++ b/chrome/app/chrome_dll_main.cc @@ -159,12 +159,18 @@ static void GLibLogHandler(const gchar* log_domain, if (!message) message = ""; - // http://code.google.com/p/chromium/issues/detail?id=9643 - // Until we have a real 64-bit build or all of these 32-bit package issues - // are sorted out, don't fatal on ELF 32/64-bit mismatch warnings. + if (strstr(message, "Loading IM context type") || strstr(message, "wrong ELF class: ELFCLASS64")) { + // http://crbug.com/9643 + // Until we have a real 64-bit build or all of these 32-bit package issues + // are sorted out, don't fatal on ELF 32/64-bit mismatch warnings. LOG(ERROR) << "Bug 9643: " << log_domain << ": " << message; + } else if (strstr(message, "gtk_widget_size_allocate(): attempt to " + "allocate widget with width") && + !GTK_CHECK_VERSION(2, 16, 1)) { + // http://crbug.com/11133 + LOG(ERROR) << "Bug 11133"; } else { LOG(FATAL) << log_domain << ": " << message; } -- cgit v1.1