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

Unified Diff: chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc

Issue 465203002: Fix bug 378090 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use GtkCustomMenu class Created 6 years, 4 months 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 | « AUTHORS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc
diff --git a/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc b/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc
index 194887c85ce5d32ff503f285f0b5bea385e4372f..a690ea57a852bd69350dfda7a60dd78745b01c8a 100644
--- a/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc
+++ b/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc
@@ -438,7 +438,7 @@ GtkStyle* NativeThemeGtk2::GetTooltipStyle() const {
GtkStyle* NativeThemeGtk2::GetMenuStyle() const {
if (!fake_menu_.get())
- fake_menu_.Own(gtk_menu_new());
+ fake_menu_.Own(gtk_custom_menu_new());
Elliot Glaysher 2014/08/22 17:37:04 Yeah, this was obviously wrong. Thanks for fixing
return gtk_rc_get_style(fake_menu_.get());
}
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698