diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-24 19:37:22 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-24 19:37:22 +0000 |
commit | 2451f831e8bbfca6bb63c2ce610bfd2ed5c50c2e (patch) | |
tree | 655f65d8cb1c8d5a111e38fb5f1e8652c9b31506 /chrome/browser/gtk/gtk_util.cc | |
parent | 79fdaa6a2da3a8b4f3b75cb9c5648415f426ed84 (diff) | |
download | chromium_src-2451f831e8bbfca6bb63c2ce610bfd2ed5c50c2e.zip chromium_src-2451f831e8bbfca6bb63c2ce610bfd2ed5c50c2e.tar.gz chromium_src-2451f831e8bbfca6bb63c2ce610bfd2ed5c50c2e.tar.bz2 |
linux: allow options dialog to be resized smaller
BUG=37786
Review URL: http://codereview.chromium.org/1253001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42510 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/gtk_util.cc')
-rw-r--r-- | chrome/browser/gtk/gtk_util.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/chrome/browser/gtk/gtk_util.cc b/chrome/browser/gtk/gtk_util.cc index 44dd69c..bb3725c 100644 --- a/chrome/browser/gtk/gtk_util.cc +++ b/chrome/browser/gtk/gtk_util.cc @@ -121,11 +121,6 @@ gboolean PaintNoBackground(GtkWidget* widget, return TRUE; } -void OnLabelAllocate(GtkWidget* label, GtkAllocation* allocation, - gpointer user_data) { - gtk_widget_set_size_request(label, allocation->width, -1); -} - } // namespace namespace event_utils { @@ -807,11 +802,6 @@ void SuppressDefaultPainting(GtkWidget* container) { G_CALLBACK(PaintNoBackground), NULL); } -void WrapLabelAtAllocationHack(GtkWidget* label) { - g_signal_connect(label, "size-allocate", - G_CALLBACK(OnLabelAllocate), NULL); -} - WindowOpenDisposition DispositionForCurrentButtonPressEvent() { GdkEvent* event = gtk_get_current_event(); if (!event) { |