diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-02 16:21:17 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-02 16:21:17 +0000 |
commit | a5176dafb70d5ea7567b18917d85c4cddc937dc4 (patch) | |
tree | 45a3a875cb48ee3b54a536ba9a4a7a5902138650 /views/widget/widget_gtk.cc | |
parent | 8e12ae06a009107635e2045db802907fd4ae2df1 (diff) | |
download | chromium_src-a5176dafb70d5ea7567b18917d85c4cddc937dc4.zip chromium_src-a5176dafb70d5ea7567b18917d85c4cddc937dc4.tar.gz chromium_src-a5176dafb70d5ea7567b18917d85c4cddc937dc4.tar.bz2 |
Convert menu strings to UTF16, fix some views-GTK build errors.
Review URL: http://codereview.chromium.org/150171
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19820 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget/widget_gtk.cc')
-rw-r--r-- | views/widget/widget_gtk.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/views/widget/widget_gtk.cc b/views/widget/widget_gtk.cc index 64493c4..3bec281 100644 --- a/views/widget/widget_gtk.cc +++ b/views/widget/widget_gtk.cc @@ -77,8 +77,7 @@ WidgetGtk::~WidgetGtk() { } void WidgetGtk::Init(GtkWidget* parent, - const gfx::Rect& bounds, - bool has_own_focus_manager) { + const gfx::Rect& bounds) { // Force creation of the RootView if it hasn't been created yet. GetRootView(); @@ -106,8 +105,6 @@ void WidgetGtk::Init(GtkWidget* parent, root_view_->OnWidgetCreated(); - // TODO(port): if(has_own_focus_manager) block - SetRootViewForWidget(widget_, root_view_.get()); MessageLoopForUI::current()->AddObserver(this); |