diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-23 22:57:54 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-23 22:57:54 +0000 |
commit | 0f23a23033550530d4ab9e9d603790d4e0f07eb7 (patch) | |
tree | 1746470cde3a3c71265e7d98bc1b4cd2a04d64a0 /chrome/browser/gtk/tabs | |
parent | 0912cc206d5acccd40d28d6e6100a69b1aad2810 (diff) | |
download | chromium_src-0f23a23033550530d4ab9e9d603790d4e0f07eb7.zip chromium_src-0f23a23033550530d4ab9e9d603790d4e0f07eb7.tar.gz chromium_src-0f23a23033550530d4ab9e9d603790d4e0f07eb7.tar.bz2 |
GTK: Don't triple buffer the tab strip.
Review URL: http://codereview.chromium.org/93054
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14368 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/tabs')
-rw-r--r-- | chrome/browser/gtk/tabs/tab_strip_gtk.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/gtk/tabs/tab_strip_gtk.cc b/chrome/browser/gtk/tabs/tab_strip_gtk.cc index 1612045..82ba974 100644 --- a/chrome/browser/gtk/tabs/tab_strip_gtk.cc +++ b/chrome/browser/gtk/tabs/tab_strip_gtk.cc @@ -411,6 +411,8 @@ void TabStripGtk::Init() { gtk_widget_set_size_request(tabstrip_.get(), -1, TabGtk::GetMinimumUnselectedSize().height()); gtk_widget_set_app_paintable(tabstrip_.get(), TRUE); + // ChromeCanvasPaint already effectively double buffers. + gtk_widget_set_double_buffered(tabstrip_.get(), FALSE); g_signal_connect(G_OBJECT(tabstrip_.get()), "expose-event", G_CALLBACK(OnExpose), this); g_signal_connect(G_OBJECT(tabstrip_.get()), "configure-event", |