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:19 +00:00
parent 0e7ede9036
commit 5d2c80e124
5 changed files with 21 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
Sun May 16 23:14:37 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkhruler.c (gtk_hruler_draw_ticks): Remove two useless
lines. (#142479, Morten Welinder)
2004-05-15 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkdnd-win32.c: Put back the ref_count field in the

View File

@@ -1,3 +1,8 @@
Sun May 16 23:14:37 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkhruler.c (gtk_hruler_draw_ticks): Remove two useless
lines. (#142479, Morten Welinder)
2004-05-15 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkdnd-win32.c: Put back the ref_count field in the

View File

@@ -1,3 +1,8 @@
Sun May 16 23:14:37 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkhruler.c (gtk_hruler_draw_ticks): Remove two useless
lines. (#142479, Morten Welinder)
2004-05-15 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkdnd-win32.c: Put back the ref_count field in the

View File

@@ -1,3 +1,8 @@
Sun May 16 23:14:37 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkhruler.c (gtk_hruler_draw_ticks): Remove two useless
lines. (#142479, Morten Welinder)
2004-05-15 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkdnd-win32.c: Put back the ref_count field in the

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;