Index: chrome/common/gtk_util.h |
diff --git a/chrome/common/gtk_util.h b/chrome/common/gtk_util.h |
index f92c3adfd224f04ee547563f320a791e44a62f12..1e7c63623e05d9def2327adf11f10a86c3ab96f6 100644 |
--- a/chrome/common/gtk_util.h |
+++ b/chrome/common/gtk_util.h |
@@ -81,6 +81,13 @@ void GetWidgetSizeFromResources(GtkWidget* widget, int width_chars, |
void GetWidgetSizeFromCharacters(GtkWidget* widget, double width_chars, |
double height_lines, int* width, int* height); |
+// As above, but a convenience method for configuring dialog width. |
+// |resizable| also controls whether the dialog will be resizable |
+// (this info is also necessary for getting the width-setting code |
+// right). |
+void SetWindowWidthFromResources(GtkWindow* window, int resource_id, |
+ bool resizable); |
+ |
// Remove all children from this container. |
void RemoveAllChildren(GtkWidget* container); |