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

Unified Diff: chrome/browser/chromeos/login/screen_locker.cc

Issue 7227027: GTK: More 2.18 goodness. Move from macros to real accessor functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove views/ 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 | « no previous file | chrome/browser/chromeos/native_dialog_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/screen_locker.cc
diff --git a/chrome/browser/chromeos/login/screen_locker.cc b/chrome/browser/chromeos/login/screen_locker.cc
index 0ac3a1ab9d3206e672f3afd29369f20fbe18bb60..ff8eca12405245e0947d55c03107b28d673d44da 100644
--- a/chrome/browser/chromeos/login/screen_locker.cc
+++ b/chrome/browser/chromeos/login/screen_locker.cc
@@ -229,7 +229,7 @@ class LockWindow : public views::NativeWidgetGtk {
// Sets the widget to move the focus to when clearning the native
// widget's focus.
void set_toplevel_focus_widget(GtkWidget* widget) {
- GTK_WIDGET_SET_FLAGS(widget, GTK_CAN_FOCUS);
+ gtk_widget_set_can_focus(widget, TRUE);
toplevel_focus_widget_ = widget;
}
« no previous file with comments | « no previous file | chrome/browser/chromeos/native_dialog_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698