summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/login
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-22 19:39:08 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-22 19:39:08 +0000
commit74b9241c1734b73b48aff28710509ba810b65032 (patch)
treec4cc6ce5f305ec26b39d4243f6a6051f1bb0c715 /chrome/browser/ui/login
parent70037378d797aaa84ea6e07d17e72ee90856bb04 (diff)
downloadchromium_src-74b9241c1734b73b48aff28710509ba810b65032.zip
chromium_src-74b9241c1734b73b48aff28710509ba810b65032.tar.gz
chromium_src-74b9241c1734b73b48aff28710509ba810b65032.tar.bz2
Reapplies r91761.
Now that the ARM bot is upgraded to have the same libgtk as all the other bots, this shouldn't break the build. 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 can't replace because their accessor replacements were in 2.20 or later. First Review URL: http://codereview.chromium.org/7227027 BUG=none TEST=none Review URL: http://codereview.chromium.org/7484035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93685 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/login')
-rw-r--r--chrome/browser/ui/login/login_prompt_gtk.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/login/login_prompt_gtk.cc b/chrome/browser/ui/login/login_prompt_gtk.cc
index 670b466..a003729 100644
--- a/chrome/browser/ui/login/login_prompt_gtk.cc
+++ b/chrome/browser/ui/login/login_prompt_gtk.cc
@@ -176,7 +176,7 @@ void LoginHandlerGtk::OnPromptHierarchyChanged(GtkWidget* sender,
// Now that we have attached ourself to the window, we can make our OK
// button the default action and mess with the focus.
- GTK_WIDGET_SET_FLAGS(ok_, GTK_CAN_DEFAULT);
+ gtk_widget_set_can_default(ok_, TRUE);
gtk_widget_grab_default(ok_);
}