summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-03 01:11:44 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-03 01:11:44 +0000
commite07dfdab975039ea0719e8dc7e7f5faaf0887a91 (patch)
tree60a3b93649b7dc601c600857b80625314fe73387 /chrome/browser
parentc8f3a88be96a3296d9e8ff63b2ae8fa66349f10a (diff)
downloadchromium_src-e07dfdab975039ea0719e8dc7e7f5faaf0887a91.zip
chromium_src-e07dfdab975039ea0719e8dc7e7f5faaf0887a91.tar.gz
chromium_src-e07dfdab975039ea0719e8dc7e7f5faaf0887a91.tar.bz2
[GTK] compile fix, try2
TBR=pkasting, ncarter TEST=compile Review URL: http://codereview.chromium.org/3060037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54659 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc b/chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc
index bf28f0e..60eadbe 100644
--- a/chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc
+++ b/chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc
@@ -622,8 +622,8 @@ gboolean AutocompletePopupViewGtk::HandleExpose(GtkWidget* widget,
line_rect.y() + ((kHeightPerResult - actual_content_height) / 2));
gdk_draw_layout(drawable, gc,
- ltr ? (kIconAreaWidth - gtk_offset) :
- (text_width - actual_content_width + gtk_offset),
+ ltr ? (kIconAreaWidth) :
+ (text_width - actual_content_width),
content_y, layout_);
if (has_description) {
@@ -638,8 +638,8 @@ gboolean AutocompletePopupViewGtk::HandleExpose(GtkWidget* widget,
gint actual_description_width;
pango_layout_get_size(layout_, &actual_description_width, NULL);
gdk_draw_layout(drawable, gc, ltr ?
- (kIconAreaWidth - gtk_offset + actual_content_width) :
- (text_width - actual_content_width + gtk_offset -
+ (kIconAreaWidth - actual_content_width) :
+ (text_width - actual_content_width -
(actual_description_width / PANGO_SCALE)),
content_y, layout_);
}