| Index: chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc
|
| diff --git a/chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc b/chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc
|
| index 893aee7f72b03105a89efd70e258118859c010f9..d1d2056fedcd903cc7e314b26f45b48319664992 100644
|
| --- a/chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc
|
| +++ b/chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc
|
| @@ -520,7 +520,7 @@ void BookmarkBarGtk::SetInstructionState() {
|
| }
|
|
|
| void BookmarkBarGtk::SetChevronState() {
|
| - if (!GTK_WIDGET_VISIBLE(bookmark_hbox_))
|
| + if (!gtk_widget_get_visible(bookmark_hbox_))
|
| return;
|
|
|
| if (show_instructions_) {
|
| @@ -529,7 +529,7 @@ void BookmarkBarGtk::SetChevronState() {
|
| }
|
|
|
| int extra_space = 0;
|
| - if (GTK_WIDGET_VISIBLE(overflow_button_))
|
| + if (gtk_widget_get_visible(overflow_button_))
|
| extra_space = overflow_button_->allocation.width;
|
|
|
| int overflow_idx = GetFirstHiddenBookmark(extra_space, NULL);
|
| @@ -1101,7 +1101,7 @@ gboolean BookmarkBarGtk::OnButtonPressed(GtkWidget* sender,
|
| GdkEventButton* event) {
|
| last_pressed_coordinates_ = gfx::Point(event->x, event->y);
|
|
|
| - if (event->button == 3 && GTK_WIDGET_VISIBLE(bookmark_hbox_)) {
|
| + if (event->button == 3 && gtk_widget_get_visible(bookmark_hbox_)) {
|
| const BookmarkNode* node = GetNodeForToolButton(sender);
|
| DCHECK(node);
|
| DCHECK(page_navigator_);
|
|
|