summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/gtk/find_bar_gtk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/gtk/find_bar_gtk.cc')
-rw-r--r--chrome/browser/ui/gtk/find_bar_gtk.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/gtk/find_bar_gtk.cc b/chrome/browser/ui/gtk/find_bar_gtk.cc
index 1c8914f..439a815 100644
--- a/chrome/browser/ui/gtk/find_bar_gtk.cc
+++ b/chrome/browser/ui/gtk/find_bar_gtk.cc
@@ -437,7 +437,7 @@ gfx::Rect FindBarGtk::GetDialogPosition(gfx::Rect avoid_overlapping_rect) {
}
bool FindBarGtk::IsFindBarVisible() {
- return gtk_widget_get_visible(widget());
+ return GTK_WIDGET_VISIBLE(widget());
}
void FindBarGtk::RestoreSavedFocus() {
@@ -686,7 +686,7 @@ void FindBarGtk::AdjustTextAlignment() {
// Use keymap or widget direction if content does not have strong direction.
// It matches the behavior of GtkEntry.
if (content_dir == PANGO_DIRECTION_NEUTRAL) {
- if (gtk_widget_has_focus(text_entry_)) {
+ if (GTK_WIDGET_HAS_FOCUS(text_entry_)) {
content_dir = gdk_keymap_get_direction(
gdk_keymap_get_for_display(gtk_widget_get_display(text_entry_)));
} else {