diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-02-10 17:46:41 +0100 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-02-10 17:46:41 +0100 |
commit | 60e7fb308d2607b7d547917a7efc5e1165333c11 (patch) | |
tree | 09c1a66ff9145045ca53552a95455ccf6c307d3d /src/indicator-messages.c | |
parent | 07a19cb993cacaf3a1185f1268334a6f6d3e744f (diff) | |
download | ayatana-indicator-messages-60e7fb308d2607b7d547917a7efc5e1165333c11.tar.gz ayatana-indicator-messages-60e7fb308d2607b7d547917a7efc5e1165333c11.tar.bz2 ayatana-indicator-messages-60e7fb308d2607b7d547917a7efc5e1165333c11.zip |
Use floor instead of round for lozenge position, better err on them being too large
Diffstat (limited to 'src/indicator-messages.c')
-rw-r--r-- | src/indicator-messages.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indicator-messages.c b/src/indicator-messages.c index 197d55a..c22419d 100644 --- a/src/indicator-messages.c +++ b/src/indicator-messages.c @@ -569,7 +569,7 @@ numbers_draw_cb (GtkWidget *widget, GdkEventExpose *event, gpointer data) x += (allocation.width - layout_extents.width) / 2.0; y += (allocation.height - layout_extents.height) / 2.0; - cairo_move_to (cr, round (x), round (y)); + cairo_move_to (cr, floor (x), floor (y)); pango_cairo_layout_path (cr, layout); cairo_fill (cr); |