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

Unified Diff: chrome/browser/ui/gtk/find_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
Index: chrome/browser/ui/gtk/find_bar_gtk.cc
===================================================================
--- chrome/browser/ui/gtk/find_bar_gtk.cc (revision 91772)
+++ chrome/browser/ui/gtk/find_bar_gtk.cc (working copy)
@@ -437,7 +437,7 @@
}
bool FindBarGtk::IsFindBarVisible() {
- return gtk_widget_get_visible(widget());
+ return GTK_WIDGET_VISIBLE(widget());
}
void FindBarGtk::RestoreSavedFocus() {
@@ -686,7 +686,7 @@
// 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 {
« no previous file with comments | « chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc ('k') | chrome/browser/ui/gtk/gtk_chrome_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698