phajdan.jr    15/04/02 07:04:17

  Added:                chromium-gnome-r0.patch
  Log:
  Dev channel bump. Fix compile without gconf, bug #544528 by Andrew Waters. 
Remove old.
  
  (Portage version: 2.2.14/cvs/Linux i686, signed Manifest commit with key 
0x4F1A2555EA71991D!)

Revision  Changes    Path
1.1                  www-client/chromium/files/chromium-gnome-r0.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/files/chromium-gnome-r0.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/files/chromium-gnome-r0.patch?rev=1.1&content-type=text/plain

Index: chromium-gnome-r0.patch
===================================================================
Index: ui/accessibility/platform/atk_util_auralinux.cc
diff --git a/ui/accessibility/platform/atk_util_auralinux.cc 
b/ui/accessibility/platform/atk_util_auralinux.cc
index 
a15df08137d874609305f90a6bca6e5c15e5c213..7fcaf219351289fe7eba1f670d7a6743a8b40ddc
 100644
--- a/ui/accessibility/platform/atk_util_auralinux.cc
+++ b/ui/accessibility/platform/atk_util_auralinux.cc
@@ -3,7 +3,9 @@
 // found in the LICENSE file.
 
 #include <atk/atk.h>
+#if defined(USE_GCONF)
 #include <gconf/gconf-client.h>
+#endif
 #include <glib-2.0/gmodule.h>
 
 #include "base/files/file_path.h"
@@ -14,6 +16,8 @@
 
 namespace {
 
+#if defined(USE_GCONF)
+
 const char kGnomeAccessibilityEnabledKey[] =
     "/desktop/gnome/interface/accessibility";
 
@@ -39,6 +43,15 @@ bool ShouldEnableAccessibility() {
   return value;
 }
 
+#else  // !defined(USE_GCONF)
+
+bool ShouldEnableAccessibility() {
+  // TODO(k.czech): implement this for non-GNOME desktops.
+  return false;
+}
+
+#endif  // defined(USE_GCONF)
+
 }  // namespace
 
 G_BEGIN_DECLS




Reply via email to