diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-05 22:58:53 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-05 22:58:53 +0000 |
commit | 9ad510372f540cfdb07c090b737053d6c32f4d57 (patch) | |
tree | 821c010594fffd1626276edac0de85481fdfd6c5 /remoting | |
parent | 71e49a0be82969a16fd23614d7bfa278c44a37c1 (diff) | |
download | chromium_src-9ad510372f540cfdb07c090b737053d6c32f4d57.zip chromium_src-9ad510372f540cfdb07c090b737053d6c32f4d57.tar.gz chromium_src-9ad510372f540cfdb07c090b737053d6c32f4d57.tar.bz2 |
gtk: Use gtk_dialog_get_content_area() throughout.
BUG=None
TEST=None
R=tony@chromium.org
Review URL: http://codereview.chromium.org/7569012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95677 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r-- | remoting/host/continue_window_linux.cc | 3 | ||||
-rw-r--r-- | remoting/host/disconnect_window_linux.cc | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/remoting/host/continue_window_linux.cc b/remoting/host/continue_window_linux.cc index 92b90af..2dcc67e 100644 --- a/remoting/host/continue_window_linux.cc +++ b/remoting/host/continue_window_linux.cc @@ -62,7 +62,8 @@ void ContinueWindowLinux::CreateWindow() { g_signal_connect(continue_window_, "response", G_CALLBACK(OnResponseThunk), this); - GtkWidget* content_area = GTK_DIALOG(continue_window_)->vbox; + GtkWidget* content_area = + gtk_dialog_get_content_area(GTK_DIALOG(continue_window_)); GtkWidget* text_label = gtk_label_new(kMessage); gtk_label_set_line_wrap(GTK_LABEL(text_label), TRUE); diff --git a/remoting/host/disconnect_window_linux.cc b/remoting/host/disconnect_window_linux.cc index f8a27d3..bfd2e1c 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 |