diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2005-05-04 13:51:41 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-05-04 13:51:41 +0000 |
commit | 7aee89d29d09f6f36d8637979a2a9549e84b2700 (patch) | |
tree | 2285e14aece1f06b09cb59cc99c9870b18c3936c | |
parent | a622843f4d984c1366c33f6693204e2834c9e0e9 (diff) | |
download | gtk+-7aee89d29d09f6f36d8637979a2a9549e84b2700.tar.gz |
Forgotten file
-rw-r--r-- | gtk/gtkcellrenderertext.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkcellrenderertext.c b/gtk/gtkcellrenderertext.c index b3235c44a8..9058c66357 100644 --- a/gtk/gtkcellrenderertext.c +++ b/gtk/gtkcellrenderertext.c @@ -1546,16 +1546,16 @@ get_size (GtkCellRenderer *cell, if (x_offset) { if (gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL) - *x_offset = (1.0 - cell->xalign) * (cell_area->width - (rect.x + rect.width + 2 * cell->xpad)); + *x_offset = (1.0 - cell->xalign) * (cell_area->width - (rect.x + rect.width + (2 * cell->xpad))); else - *x_offset = cell->xalign * (cell_area->width - (rect.x + rect.width + 2 * cell->xpad)); + *x_offset = cell->xalign * (cell_area->width - (rect.x + rect.width + (2 * cell->xpad))); if (priv->ellipsize_set || priv->wrap_width != -1) *x_offset = MAX(*x_offset, 0); } if (y_offset) { - *y_offset = cell->yalign * (cell_area->height - (rect.height + 2 * cell->ypad)); + *y_offset = cell->yalign * (cell_area->height - (rect.height + (2 * cell->ypad))); *y_offset = MAX (*y_offset, 0); } } |