From 121a9c519724c978ea179991bddcc5b5556e36eb Mon Sep 17 00:00:00 2001 From: "evanm@google.com" Date: Wed, 12 Nov 2008 21:31:02 +0000 Subject: Fix Linux build. I suck. R=deanm git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5295 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/tools/test_shell/test_webview_delegate_gtk.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webkit') 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); } -- cgit v1.1