diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/controls/native/native_view_host_gtk.cc | 1 | ||||
-rw-r--r-- | views/window/window_gtk.cc | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/views/controls/native/native_view_host_gtk.cc b/views/controls/native/native_view_host_gtk.cc index 36aa82b..79a144d 100644 --- a/views/controls/native/native_view_host_gtk.cc +++ b/views/controls/native/native_view_host_gtk.cc @@ -273,6 +273,7 @@ void NativeViewHostGtk::CreateFixed(bool needs_window) { DestroyFixed(); fixed_ = gtk_fixed_new(); + gtk_widget_set_name(fixed_, "views-native-view-host-fixed"); gtk_fixed_set_has_window(GTK_FIXED(fixed_), needs_window); // Defeat refcounting. We need to own the fixed. gtk_widget_ref(fixed_); diff --git a/views/window/window_gtk.cc b/views/window/window_gtk.cc index 4b0a682..d0ba7bc 100644 --- a/views/window/window_gtk.cc +++ b/views/window/window_gtk.cc @@ -120,7 +120,7 @@ void WindowGtk::SetBounds(const gfx::Rect& bounds, } void WindowGtk::Show() { - gtk_widget_show_all(GetNativeView()); + gtk_widget_show(GetNativeView()); } void WindowGtk::HideWindow() { |