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

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

Issue 6896028: GTK: Fix valgrind errors in previous wmclass patch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: And remove the suppression Created 9 years, 8 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 | « no previous file | tools/valgrind/memcheck/suppressions.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/browser_window_gtk.cc
diff --git a/chrome/browser/ui/gtk/browser_window_gtk.cc b/chrome/browser/ui/gtk/browser_window_gtk.cc
index 135102702518cccf87d0e32aae95fb2743064627..865bb5f34db413425edb360b45745ac1baad8001 100644
--- a/chrome/browser/ui/gtk/browser_window_gtk.cc
+++ b/chrome/browser/ui/gtk/browser_window_gtk.cc
@@ -341,7 +341,7 @@ void BrowserWindowGtk::Init() {
// together (docks, per application stuff, etc). Hopefully they won't
// display wmclassname to the user.
gtk_window_set_wmclass(window_,
- window_->wmclass_name,
+ g_get_prgname(),
wmclassname.c_str());
}
« no previous file with comments | « no previous file | tools/valgrind/memcheck/suppressions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698