diff options
Diffstat (limited to 'views/widget/widget_gtk.cc')
-rw-r--r-- | views/widget/widget_gtk.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/views/widget/widget_gtk.cc b/views/widget/widget_gtk.cc index 82af746..cb6cbfe 100644 --- a/views/widget/widget_gtk.cc +++ b/views/widget/widget_gtk.cc @@ -151,8 +151,6 @@ void WidgetGtk::Init(GtkWidget* parent, GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK); - root_view_->OnWidgetCreated(); - SetRootViewForWidget(widget_, root_view_.get()); MessageLoopForUI::current()->AddObserver(this); @@ -538,7 +536,6 @@ void WidgetGtk::OnGrabNotify(GtkWidget* widget, gboolean was_grabbed) { void WidgetGtk::OnDestroy() { widget_ = window_contents_ = NULL; - root_view_->OnWidgetDestroyed(); if (delete_on_destroy_) delete this; } |