diff options
author | mdm@chromium.org <mdm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-30 01:33:24 +0000 |
---|---|---|
committer | mdm@chromium.org <mdm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-30 01:33:24 +0000 |
commit | 63302a8b9faec92f1b956737057205acc2b44907 (patch) | |
tree | 4ced0044147ef7e0d2e525c37b7922dfca195e9f /chrome/browser/gtk/options/options_layout_gtk.cc | |
parent | 21a00fd62cb2760b12912697e9af1fb95aaf613c (diff) | |
download | chromium_src-63302a8b9faec92f1b956737057205acc2b44907.zip chromium_src-63302a8b9faec92f1b956737057205acc2b44907.tar.gz chromium_src-63302a8b9faec92f1b956737057205acc2b44907.tar.bz2 |
Linux: convert namespace gtk_util to class GtkUtil to meet style guidelines.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/160371
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22036 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/options/options_layout_gtk.cc')
-rw-r--r-- | chrome/browser/gtk/options/options_layout_gtk.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/gtk/options/options_layout_gtk.cc b/chrome/browser/gtk/options/options_layout_gtk.cc index a2507fe..b837a84a 100644 --- a/chrome/browser/gtk/options/options_layout_gtk.cc +++ b/chrome/browser/gtk/options/options_layout_gtk.cc @@ -14,9 +14,9 @@ const char kGroupTitleMarkup[] = } OptionsLayoutBuilderGtk::OptionsLayoutBuilderGtk() { - page_ = gtk_vbox_new(FALSE, gtk_util::kContentAreaSpacing); + page_ = gtk_vbox_new(FALSE, GtkUtil::kContentAreaSpacing); gtk_container_set_border_width(GTK_CONTAINER(page_), - gtk_util::kContentAreaBorder); + GtkUtil::kContentAreaBorder); } void OptionsLayoutBuilderGtk::AddOptionGroup(const std::string& title, @@ -33,7 +33,7 @@ void OptionsLayoutBuilderGtk::AddOptionGroup(const std::string& title, GtkWidget* content_alignment = IndentWidget(content); - GtkWidget* group = gtk_vbox_new(FALSE, gtk_util::kControlSpacing); + GtkWidget* group = gtk_vbox_new(FALSE, GtkUtil::kControlSpacing); gtk_box_pack_start(GTK_BOX(group), title_alignment, FALSE, FALSE, 0); gtk_container_add(GTK_CONTAINER(group), content_alignment); @@ -44,7 +44,7 @@ void OptionsLayoutBuilderGtk::AddOptionGroup(const std::string& title, GtkWidget* OptionsLayoutBuilderGtk::IndentWidget(GtkWidget* content) { GtkWidget* content_alignment = gtk_alignment_new(0.0, 0.5, 1.0, 1.0); gtk_alignment_set_padding(GTK_ALIGNMENT(content_alignment), 0, 0, - gtk_util::kGroupIndent, 0); + GtkUtil::kGroupIndent, 0); gtk_container_add(GTK_CONTAINER(content_alignment), content); return content_alignment; } |