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:
@ -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>
|
Sun May 16 22:27:17 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkintl.h (Q_): Add a Q_() macro.
|
* gtk/gtkintl.h (Q_): Add a Q_() macro.
|
||||||
|
@ -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>
|
Sun May 16 22:27:17 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkintl.h (Q_): Add a Q_() macro.
|
* gtk/gtkintl.h (Q_): Add a Q_() macro.
|
||||||
|
@ -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>
|
Sun May 16 22:27:17 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkintl.h (Q_): Add a Q_() macro.
|
* gtk/gtkintl.h (Q_): Add a Q_() macro.
|
||||||
|
@ -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>
|
Sun May 16 22:27:17 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkintl.h (Q_): Add a Q_() macro.
|
* gtk/gtkintl.h (Q_): Add a Q_() macro.
|
||||||
|
@ -164,13 +164,10 @@ gtk_hruler_draw_ticks (GtkRuler *ruler)
|
|||||||
xthickness = widget->style->xthickness;
|
xthickness = widget->style->xthickness;
|
||||||
ythickness = widget->style->ythickness;
|
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");
|
layout = gtk_widget_create_pango_layout (widget, "012456789");
|
||||||
pango_layout_get_extents (layout, &ink_rect, &logical_rect);
|
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;
|
digit_offset = ink_rect.y;
|
||||||
|
|
||||||
width = widget->allocation.width;
|
width = widget->allocation.width;
|
||||||
|
Reference in New Issue
Block a user