summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/custom_button.cc
diff options
context:
space:
mode:
authormdm@chromium.org <mdm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-30 01:33:24 +0000
committermdm@chromium.org <mdm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-30 01:33:24 +0000
commit63302a8b9faec92f1b956737057205acc2b44907 (patch)
tree4ced0044147ef7e0d2e525c37b7922dfca195e9f /chrome/browser/gtk/custom_button.cc
parent21a00fd62cb2760b12912697e9af1fb95aaf613c (diff)
downloadchromium_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/custom_button.cc')
-rw-r--r--chrome/browser/gtk/custom_button.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/gtk/custom_button.cc b/chrome/browser/gtk/custom_button.cc
index f27e01b..afd08e7 100644
--- a/chrome/browser/gtk/custom_button.cc
+++ b/chrome/browser/gtk/custom_button.cc
@@ -72,7 +72,7 @@ gboolean CustomDrawButtonBase::OnExpose(GtkWidget* widget, GdkEventExpose* e) {
// The widget might be larger than the pixbuf. Paint the pixbuf flush with the
// start of the widget (left for LTR, right for RTL).
gfx::Rect bounds = gfx::Rect(0, 0, gdk_pixbuf_get_width(pixbuf), 0);
- int x = gtk_util::MirroredLeftPointForRect(widget, bounds);
+ int x = GtkUtil::MirroredLeftPointForRect(widget, bounds);
if (background_image_) {
gdk_cairo_set_source_pixbuf(cairo_context, background_image_, x, 0);