diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-09-13 19:57:42 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-09-13 19:57:42 +0000 |
commit | 463aab93dd04bb815f13ff8f17019071162a8ac3 (patch) | |
tree | 539f4100082e7cb0fcb1a1ba449e3b7791eb4cfd /gtk/gtktextutil.c | |
parent | 9a5d4a2ff9e9117b731418d0deafd4204cace1c4 (diff) | |
download | gtk+-463aab93dd04bb815f13ff8f17019071162a8ac3.tar.gz |
Various cleanups. (#315360, Kjartan Maraas)
2005-09-13 Matthias Clasen <mclasen@redhat.com>
* gtk/*.c: Various cleanups. (#315360, Kjartan Maraas)
Diffstat (limited to 'gtk/gtktextutil.c')
-rw-r--r-- | gtk/gtktextutil.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtktextutil.c b/gtk/gtktextutil.c index 7552a8cb8c..6678e4e3b6 100644 --- a/gtk/gtktextutil.c +++ b/gtk/gtktextutil.c @@ -187,7 +187,6 @@ _gtk_text_util_create_drag_icon (GtkWidget *widget, PangoLayout *layout; gint pixmap_height, pixmap_width; gint layout_width, layout_height; - gint n_lines; g_return_val_if_fail (widget != NULL, NULL); g_return_val_if_fail (text != NULL, NULL); @@ -201,7 +200,6 @@ _gtk_text_util_create_drag_icon (GtkWidget *widget, layout_width = MIN (layout_width, DRAG_ICON_MAX_WIDTH * PANGO_SCALE); pango_layout_set_width (layout, layout_width); - n_lines = pango_layout_get_line_count (layout); limit_layout_lines (layout); |