summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-12 21:31:02 +0000
committerevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-12 21:31:02 +0000
commit121a9c519724c978ea179991bddcc5b5556e36eb (patch)
tree2c7ada9216f4bc1dcf04066f1665fc062b902448
parentdca1225fff9f64a2886da568e1786bbb55931ef6 (diff)
downloadchromium_src-121a9c519724c978ea179991bddcc5b5556e36eb.zip
chromium_src-121a9c519724c978ea179991bddcc5b5556e36eb.tar.gz
chromium_src-121a9c519724c978ea179991bddcc5b5556e36eb.tar.bz2
Fix Linux build. I suck.
R=deanm git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5295 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--webkit/tools/test_shell/test_webview_delegate_gtk.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/tools/test_shell/test_webview_delegate_gtk.cc b/webkit/tools/test_shell/test_webview_delegate_gtk.cc
index 24f16cf..e96bcee1 100644
--- a/webkit/tools/test_shell/test_webview_delegate_gtk.cc
+++ b/webkit/tools/test_shell/test_webview_delegate_gtk.cc
@@ -45,7 +45,7 @@ void TestWebViewDelegate::ShowJavaScriptAlert(const std::wstring& message) {
GtkWidget* dialog = gtk_message_dialog_new(
GTK_WINDOW(shell_->mainWnd()), GTK_DIALOG_MODAL, GTK_MESSAGE_INFO,
GTK_BUTTONS_OK, "%s", WideToUTF8(message).c_str());
- gtk_window_set_title(GTK_DIALOG(dialog), "JavaScript Alert");
+ gtk_window_set_title(GTK_WINDOW(dialog), "JavaScript Alert");
gtk_dialog_run(GTK_DIALOG(dialog)); // Runs a nested message loop.
gtk_widget_destroy(dialog);
}