diff options
author | Benjamin Berg <bberg@src.gnome.org> | 2006-12-14 18:33:43 +0000 |
---|---|---|
committer | Benjamin Berg <bberg@src.gnome.org> | 2006-12-14 18:33:43 +0000 |
commit | 1830558a3e275e8a0311cbd692dbaa5536605e99 (patch) | |
tree | ce4a38bf4f953d26b6e6a8558756d4589abae56e /gtk/gtkcellrenderertext.c | |
parent | cbd7e2aab94435010568f4e3a40c95409a9d6790 (diff) | |
download | gtk+-1830558a3e275e8a0311cbd692dbaa5536605e99.tar.gz |
Undo bogus commit.
Diffstat (limited to 'gtk/gtkcellrenderertext.c')
-rw-r--r-- | gtk/gtkcellrenderertext.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gtk/gtkcellrenderertext.c b/gtk/gtkcellrenderertext.c index 36e597822b..70b6f732ee 100644 --- a/gtk/gtkcellrenderertext.c +++ b/gtk/gtkcellrenderertext.c @@ -1624,7 +1624,6 @@ gtk_cell_renderer_text_render (GtkCellRenderer *cell, gint x_offset; gint y_offset; GtkCellRendererTextPrivate *priv; - gboolean use_text; priv = GTK_CELL_RENDERER_TEXT_GET_PRIVATE (cell); @@ -1676,8 +1675,6 @@ gtk_cell_renderer_text_render (GtkCellRenderer *cell, cairo_destroy (cr); } - use_text = !(flags & GTK_CELL_RENDERER_USE_FG); - if (priv->ellipsize_set && priv->ellipsize != PANGO_ELLIPSIZE_NONE) pango_layout_set_width (layout, (cell_area->width - x_offset - 2 * cell->xpad) * PANGO_SCALE); @@ -1687,7 +1684,7 @@ gtk_cell_renderer_text_render (GtkCellRenderer *cell, gtk_paint_layout (widget->style, window, state, - use_text, + TRUE, expose_area, widget, "cellrenderertext", |