summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/login
diff options
context:
space:
mode:
authorerg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-07 21:50:29 +0000
committererg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-07 21:50:29 +0000
commit5cf64e02dd0ef2246e23486135f15be219fcd9d9 (patch)
treee58e23954412201ae3b0532b83c318d7fa9615a3 /chrome/browser/chromeos/login
parent3a0b95ce671bf1c4ef7e4b790b24ee4fc5fe0065 (diff)
downloadchromium_src-5cf64e02dd0ef2246e23486135f15be219fcd9d9.zip
chromium_src-5cf64e02dd0ef2246e23486135f15be219fcd9d9.tar.gz
chromium_src-5cf64e02dd0ef2246e23486135f15be219fcd9d9.tar.bz2
GTK: More 2.18 goodness. Move from macros to real accessor functions.
This does not take care of everything! There are many deprecated macros that we can't replace because their accessor replacements were in 2.20 or later. BUG=none TEST=none Review URL: http://codereview.chromium.org/7227027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91761 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/login')
-rw-r--r--chrome/browser/chromeos/login/screen_locker.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/login/screen_locker.cc b/chrome/browser/chromeos/login/screen_locker.cc
index 0ac3a1a..ff8eca1 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;
}