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

Unified Diff: chrome/browser/ui/gtk/tabs/tab_gtk.cc

Issue 7310016: GTK: Now that we depend on gtk 2.18+, replace this pattern: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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
« no previous file with comments | « chrome/browser/ui/gtk/profile_menu_button.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/tabs/tab_gtk.cc
diff --git a/chrome/browser/ui/gtk/tabs/tab_gtk.cc b/chrome/browser/ui/gtk/tabs/tab_gtk.cc
index b9aa256f2a4fcd32fac7cdaf5c8440fc4c5b4c12..34478265e4f24675cc7b6f2b7f1c0462f2761395 100644
--- a/chrome/browser/ui/gtk/tabs/tab_gtk.cc
+++ b/chrome/browser/ui/gtk/tabs/tab_gtk.cc
@@ -240,11 +240,7 @@ bool TabGtk::IsVisible() const {
}
void TabGtk::SetVisible(bool visible) const {
- if (visible) {
- gtk_widget_show(event_box_);
- } else {
- gtk_widget_hide(event_box_);
- }
+ gtk_widget_set_visible(event_box_, visible);
}
void TabGtk::CloseButtonClicked() {
« no previous file with comments | « chrome/browser/ui/gtk/profile_menu_button.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698