summaryrefslogtreecommitdiffstats
path: root/chrome/app
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-29 00:40:00 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-29 00:40:00 +0000
commitb8458d9d67cf9b4246ff5326378bf67d40ed5595 (patch)
treea13352940ebc182d89fb08a829b6319ef53fe37b /chrome/app
parent7329360d09e18de3c7498439edcbbc86169a69c8 (diff)
downloadchromium_src-b8458d9d67cf9b4246ff5326378bf67d40ed5595.zip
chromium_src-b8458d9d67cf9b4246ff5326378bf67d40ed5595.tar.gz
chromium_src-b8458d9d67cf9b4246ff5326378bf67d40ed5595.tar.bz2
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
Diffstat (limited to 'chrome/app')
-rw-r--r--chrome/app/chrome_dll_main.cc12
1 files changed, 9 insertions, 3 deletions
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 = "<no 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;
}