Index: remoting/host/disconnect_window_linux.cc |
diff --git a/remoting/host/disconnect_window_linux.cc b/remoting/host/disconnect_window_linux.cc |
index f8a27d3574e95d402c31c2a0cd1e1aac1ffc10d3..bfd2e1c5708f7ecfbea8d1cc680f8bb890565b50 100644 |
--- a/remoting/host/disconnect_window_linux.cc |
+++ b/remoting/host/disconnect_window_linux.cc |
@@ -64,7 +64,8 @@ void DisconnectWindowLinux::CreateWindow() { |
g_signal_connect(disconnect_window_, "response", |
G_CALLBACK(OnResponseThunk), this); |
- GtkWidget* content_area = GTK_DIALOG(disconnect_window_)->vbox; |
+ GtkWidget* content_area = |
+ gtk_dialog_get_content_area(GTK_DIALOG(disconnect_window_)); |
GtkWidget* username_row = gtk_hbox_new(FALSE, 0); |
// TODO(lambroslambrou): Replace the magic number with an appropriate |