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

Unified Diff: chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc

Issue 7329003: Revert 91761 - GTK: More 2.18 goodness. Move from macros to real accessor functions. (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/browser_list_gtk.cc ('k') | chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc
===================================================================
--- chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc (revision 91772)
+++ chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc (working copy)
@@ -510,7 +510,7 @@
}
void BookmarkBarGtk::SetChevronState() {
- if (!gtk_widget_get_visible(bookmark_hbox_))
+ if (!GTK_WIDGET_VISIBLE(bookmark_hbox_))
return;
if (show_instructions_) {
@@ -519,7 +519,7 @@
}
int extra_space = 0;
- if (gtk_widget_get_visible(overflow_button_))
+ if (GTK_WIDGET_VISIBLE(overflow_button_))
extra_space = overflow_button_->allocation.width;
int overflow_idx = GetFirstHiddenBookmark(extra_space, NULL);
@@ -1103,7 +1103,7 @@
GdkEventButton* event) {
last_pressed_coordinates_ = gfx::Point(event->x, event->y);
- if (event->button == 3 && gtk_widget_get_visible(bookmark_hbox_)) {
+ if (event->button == 3 && GTK_WIDGET_VISIBLE(bookmark_hbox_)) {
const BookmarkNode* node = GetNodeForToolButton(sender);
DCHECK(node);
DCHECK(page_navigator_);
« no previous file with comments | « chrome/browser/ui/browser_list_gtk.cc ('k') | chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698