summaryrefslogtreecommitdiffstats
path: root/chrome/browser/app_modal_dialog_gtk.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-04 08:26:33 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-04 08:26:33 +0000
commit2808c92a233971bf6c4ce19ddb87cd3ce3eb5858 (patch)
tree640b1e41118f8e63b47e918594ab9f40615af51e /chrome/browser/app_modal_dialog_gtk.cc
parent6bd58772d781e5d419a54ba86bf4e5e872001684 (diff)
downloadchromium_src-2808c92a233971bf6c4ce19ddb87cd3ce3eb5858.zip
chromium_src-2808c92a233971bf6c4ce19ddb87cd3ce3eb5858.tar.gz
chromium_src-2808c92a233971bf6c4ce19ddb87cd3ce3eb5858.tar.bz2
More linux build fixes
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15197 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/app_modal_dialog_gtk.cc')
-rw-r--r--chrome/browser/app_modal_dialog_gtk.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/app_modal_dialog_gtk.cc b/chrome/browser/app_modal_dialog_gtk.cc
index f513aad..203ae39 100644
--- a/chrome/browser/app_modal_dialog_gtk.cc
+++ b/chrome/browser/app_modal_dialog_gtk.cc
@@ -87,7 +87,7 @@ void AppModalDialog::CreateAndShowDialog() {
NOTREACHED();
}
- GtkWindow* window = web_contents_->view()->GetTopLevelNativeWindow();
+ GtkWindow* window = tab_contents_->view()->GetTopLevelNativeWindow();
dialog_ = gtk_message_dialog_new(window, GTK_DIALOG_MODAL,
message_type, buttons, "%s", WideToUTF8(message_text_).c_str());
gtk_window_set_title(GTK_WINDOW(dialog_), WideToUTF8(title_).c_str());