Commit 478ea44a authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Remove two useless lines. (#142479, Morten Welinder)

	* gtk/gtkhruler.c (gtk_hruler_draw_ticks): Remove two useless
	lines.  (#142479, Morten Welinder)
parent d14f203b
Sun May 16 23:11:47 2004 Matthias Clasen <maclas@gmx.de>
Merged from 2.4:
* gtk/gtkhruler.c (gtk_hruler_draw_ticks): Remove two useless
lines. (#142479, Morten Welinder)
Sun May 16 22:27:17 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkintl.h (Q_): Add a Q_() macro.
......
Sun May 16 23:11:47 2004 Matthias Clasen <maclas@gmx.de>
Merged from 2.4:
* gtk/gtkhruler.c (gtk_hruler_draw_ticks): Remove two useless
lines. (#142479, Morten Welinder)
Sun May 16 22:27:17 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkintl.h (Q_): Add a Q_() macro.
......
Sun May 16 23:11:47 2004 Matthias Clasen <maclas@gmx.de>
Merged from 2.4:
* gtk/gtkhruler.c (gtk_hruler_draw_ticks): Remove two useless
lines. (#142479, Morten Welinder)
Sun May 16 22:27:17 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkintl.h (Q_): Add a Q_() macro.
......
Sun May 16 23:11:47 2004 Matthias Clasen <maclas@gmx.de>
Merged from 2.4:
* gtk/gtkhruler.c (gtk_hruler_draw_ticks): Remove two useless
lines. (#142479, Morten Welinder)
Sun May 16 22:27:17 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkintl.h (Q_): Add a Q_() macro.
......
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment