| 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_);
|
|
|