Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Unified Diff: chrome/browser/ui/gtk/html_dialog_gtk.cc

Issue 9113033: GTK: More raw struct access removal, this time focusing on GtkDialog. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/gtk/html_dialog_gtk.cc
diff --git a/chrome/browser/ui/gtk/html_dialog_gtk.cc b/chrome/browser/ui/gtk/html_dialog_gtk.cc
index 6a03b92902ed22fa8bebb356487713908305867c..8c3d33c4f1cca1ba7b4c71e15334ee4ae344ee6b 100644
--- a/chrome/browser/ui/gtk/html_dialog_gtk.cc
+++ b/chrome/browser/ui/gtk/html_dialog_gtk.cc
@@ -203,7 +203,8 @@ gfx::NativeWindow HtmlDialogGtk::InitDialog() {
g_signal_connect(dialog_, "response", G_CALLBACK(OnResponseThunk), this);
tab_contents_container_.reset(new TabContentsContainerGtk(NULL));
- gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog_)->vbox),
+ GtkWidget* content_area = gtk_dialog_get_content_area(GTK_DIALOG(dialog_));
+ gtk_box_pack_start(GTK_BOX(content_area),
tab_contents_container_->widget(), TRUE, TRUE, 0);
tab_contents_container_->SetTab(tab_.get());
« no previous file with comments | « chrome/browser/ui/gtk/external_protocol_dialog_gtk.cc ('k') | chrome/browser/ui/gtk/infobars/infobar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698