| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/chrome_browser_parts_gtk.h" | 5 #include "chrome/browser/chrome_browser_parts_gtk.h" |
| 6 | 6 |
| 7 #include <gtk/gtk.h> | 7 #include <gtk/gtk.h> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "chrome/common/chrome_switches.h" | 10 #include "chrome/common/chrome_switches.h" |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 static_cast<GtkDialogFlags>(0), | 92 static_cast<GtkDialogFlags>(0), |
| 93 GTK_MESSAGE_ERROR, | 93 GTK_MESSAGE_ERROR, |
| 94 GTK_BUTTONS_CLOSE, | 94 GTK_BUTTONS_CLOSE, |
| 95 "%s", | 95 "%s", |
| 96 message); | 96 message); |
| 97 | 97 |
| 98 gtk_window_set_title(GTK_WINDOW(dialog), message); | 98 gtk_window_set_title(GTK_WINDOW(dialog), message); |
| 99 gtk_dialog_run(GTK_DIALOG(dialog)); | 99 gtk_dialog_run(GTK_DIALOG(dialog)); |
| 100 gtk_widget_destroy(dialog); | 100 gtk_widget_destroy(dialog); |
| 101 } | 101 } |
| OLD | NEW |