Cairo context is now in widget-relative coordinates instead of window-relative: undo that transform so the icon draw code actually draws inside the window.
Signed-off-by: Jussi Kukkonen <jussi.kukko...@intel.com> --- applets/systray/na-tray.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/applets/systray/na-tray.c b/applets/systray/na-tray.c index 7da908f..714bd90 100644 --- a/applets/systray/na-tray.c +++ b/applets/systray/na-tray.c @@ -538,6 +538,8 @@ static void na_tray_draw_box (GtkWidget *box, cairo_t *cr) { + /* Transform to window-relative coordinates */ + gtk_cairo_transform_to_window (cr, box, gtk_widget_get_window (box)); gtk_container_foreach (GTK_CONTAINER (box), na_tray_draw_icon, cr); } -- 2.8.1 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto