From d6d6d586d2a91d13d06a8bce53a2d03f2458f9c2 Mon Sep 17 00:00:00 2001 From: "sky@chromium.org" Date: Mon, 12 Oct 2009 19:22:26 +0000 Subject: Converts some uses of native_view to native_window. This is necessitated by wanting to parent bookmarkeditor to browserwindow, which returns a native_window. BUG=none TEST=none Review URL: http://codereview.chromium.org/270067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28728 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/input_window_dialog_gtk.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/input_window_dialog_gtk.cc') diff --git a/chrome/browser/input_window_dialog_gtk.cc b/chrome/browser/input_window_dialog_gtk.cc index 353cb39..b6bf5dc 100644 --- a/chrome/browser/input_window_dialog_gtk.cc +++ b/chrome/browser/input_window_dialog_gtk.cc @@ -148,12 +148,12 @@ void GtkInputWindowDialog::OnWindowDestroy(GtkWidget* widget, } // static -InputWindowDialog* InputWindowDialog::Create(gfx::NativeView parent, +InputWindowDialog* InputWindowDialog::Create(gfx::NativeWindow parent, const std::wstring& window_title, const std::wstring& label, const std::wstring& contents, Delegate* delegate) { - return new GtkInputWindowDialog(GTK_WINDOW(gtk_widget_get_toplevel(parent)), + return new GtkInputWindowDialog(parent, WideToUTF8(window_title), WideToUTF8(label), WideToUTF8(contents), -- cgit v1.1