summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/clear_browsing_data_dialog_gtk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/gtk/clear_browsing_data_dialog_gtk.cc')
-rw-r--r--chrome/browser/gtk/clear_browsing_data_dialog_gtk.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/gtk/clear_browsing_data_dialog_gtk.cc b/chrome/browser/gtk/clear_browsing_data_dialog_gtk.cc
index 6259923..2064241 100644
--- a/chrome/browser/gtk/clear_browsing_data_dialog_gtk.cc
+++ b/chrome/browser/gtk/clear_browsing_data_dialog_gtk.cc
@@ -31,9 +31,10 @@ ClearBrowsingDataDialogGtk::ClearBrowsingDataDialogGtk(GtkWindow* parent,
GTK_RESPONSE_REJECT,
NULL);
gtk_widget_realize(dialog);
- gtk_util::SetWindowWidthFromResources(GTK_WINDOW(dialog),
- IDS_CLEARDATA_DIALOG_WIDTH_CHARS,
- /* resizable */ false);
+ gtk_util::SetWindowSizeFromResources(GTK_WINDOW(dialog),
+ IDS_CLEARDATA_DIALOG_WIDTH_CHARS,
+ -1, // height
+ false); // resizable
gtk_util::AddButtonToDialog(dialog,
l10n_util::GetStringUTF8(IDS_CLEAR_BROWSING_DATA_COMMIT).c_str(),
GTK_STOCK_APPLY, GTK_RESPONSE_ACCEPT);