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

Unified Diff: views/controls/combobox/native_combobox_gtk.cc

Issue 3159031: Remove wstrings from bookmarks, part 12. (Closed)
Patch Set: rebased ToT Created 10 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 | « views/controls/combobox/combobox.cc ('k') | views/controls/combobox/native_combobox_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/combobox/native_combobox_gtk.cc
diff --git a/views/controls/combobox/native_combobox_gtk.cc b/views/controls/combobox/native_combobox_gtk.cc
index 61e187a9adc7433b8f84d8f424b11a3d598bbe29..f756171455769039f8ea9c26f4a8e209a3ee8c42 100644
--- a/views/controls/combobox/native_combobox_gtk.cc
+++ b/views/controls/combobox/native_combobox_gtk.cc
@@ -44,7 +44,7 @@ void NativeComboboxGtk::UpdateFromModel() {
while (count-- > 0) {
gtk_list_store_prepend(store, &iter);
gtk_list_store_set(store, &iter,
- 0, WideToUTF8(model->GetItemAt(count)).c_str(),
+ 0, UTF16ToUTF8(model->GetItemAt(count)).c_str(),
-1);
}
}
« no previous file with comments | « views/controls/combobox/combobox.cc ('k') | views/controls/combobox/native_combobox_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698