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

Unified Diff: chrome/browser/app_modal_dialog_gtk.cc

Issue 99159: Bah, I should compile before fixing. Need to assign the results of (Closed)
Patch Set: Created 11 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/app_modal_dialog_gtk.cc
diff --git a/chrome/browser/app_modal_dialog_gtk.cc b/chrome/browser/app_modal_dialog_gtk.cc
index 02ce7c3279296910839b9b2b3a76f5e8701a1d73..743db73e16d18ea5b7fff0a683640a0b76fc701d 100644
--- a/chrome/browser/app_modal_dialog_gtk.cc
+++ b/chrome/browser/app_modal_dialog_gtk.cc
@@ -22,7 +22,7 @@ std::wstring GetPromptText(GtkDialog* dialog) {
// TODO(tc): Replace with gtk_dialog_get_content_area() when using GTK 2.14+
GtkWidget* contents_vbox = dialog->vbox;
GList* first_child = gtk_container_get_children(GTK_CONTAINER(contents_vbox));
- for (GList* item = first_child; item; g_list_next(item)) {
+ for (GList* item = first_child; item; item = g_list_next(item)) {
if (GTK_IS_ENTRY(item->data)) {
return UTF8ToWide(gtk_entry_get_text(GTK_ENTRY(item->data)));
}
« 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