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

Unified Diff: chrome/browser/ui/gtk/unity_service.cc

Issue 8741008: GTK: Use Unity services on Oneric. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/unity_service.cc
diff --git a/chrome/browser/ui/gtk/unity_service.cc b/chrome/browser/ui/gtk/unity_service.cc
index dc7f05ddfbddf758a388ab8eae2366daba7faf8b..7adc936e3f02d30e56084cc7ff87eb46c771a426 100644
--- a/chrome/browser/ui/gtk/unity_service.cc
+++ b/chrome/browser/ui/gtk/unity_service.cc
@@ -53,8 +53,12 @@ void EnsureMethodsLoaded() {
return;
attempted_load = true;
+ // TODO(erg): When unity stabilizes its interface, switch all this to looking
+ // up just ".so" instead of specific versions.
void* unity_lib = dlopen("libunity.so.4", RTLD_LAZY);
if (!unity_lib)
+ unity_lib = dlopen("libunity.so.6", RTLD_LAZY);
+ if (!unity_lib)
return;
unity_inspector_get_default_func inspector_get_default =
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698