diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2004-05-17 03:16:35 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-05-17 03:16:35 +0000 |
commit | 478ea44a8680be050b47d2b0673d71cb11c4836a (patch) | |
tree | 868b16b8e1cbf7c5ee56e9147ab757ce1c7f627c /gtk/gtkhruler.c | |
parent | d14f203bba5284c76fd9573186ac058f9e005763 (diff) | |
download | gdk-pixbuf-478ea44a8680be050b47d2b0673d71cb11c4836a.tar.gz |
Remove two useless lines. (#142479, Morten Welinder)
* gtk/gtkhruler.c (gtk_hruler_draw_ticks): Remove two useless
lines. (#142479, Morten Welinder)
Diffstat (limited to 'gtk/gtkhruler.c')
-rw-r--r-- | gtk/gtkhruler.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gtk/gtkhruler.c b/gtk/gtkhruler.c index f91a1bad8..07d549e8b 100644 --- a/gtk/gtkhruler.c +++ b/gtk/gtkhruler.c @@ -164,13 +164,10 @@ gtk_hruler_draw_ticks (GtkRuler *ruler) xthickness = widget->style->xthickness; ythickness = widget->style->ythickness; - digit_height = PANGO_PIXELS (ink_rect.height) + 2; - digit_offset = ink_rect.y; - layout = gtk_widget_create_pango_layout (widget, "012456789"); pango_layout_get_extents (layout, &ink_rect, &logical_rect); - digit_height = PANGO_PIXELS (ink_rect.height) + 1; + digit_height = PANGO_PIXELS (ink_rect.height) + 2; digit_offset = ink_rect.y; width = widget->allocation.width; |