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

* gtk/gtkhruler.c (gtk_hruler_draw_ticks): Remove two useless
	lines.  (#142479, Morten Welinder)
This commit is contained in:
Matthias Clasen 2004-05-17 03:16:35 +00:00
parent d14f203bba
commit 478ea44a86
5 changed files with 29 additions and 4 deletions

View File

@ -1,3 +1,10 @@
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.

View File

@ -1,3 +1,10 @@
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.

View File

@ -1,3 +1,10 @@
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.

View File

@ -1,3 +1,10 @@
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.

View File

@ -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;