From 8bc523ef5915d4ab7ced843929c8e3f1bf754016 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Fri, 14 Nov 2014 23:18:10 +0100 Subject: [PATCH] mir: fix compilation in mirscreen --- gdk/mir/gdkmirscreen.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdk/mir/gdkmirscreen.c b/gdk/mir/gdkmirscreen.c index 82f1ae68b6..2b53cef76e 100644 --- a/gdk/mir/gdkmirscreen.c +++ b/gdk/mir/gdkmirscreen.c @@ -383,7 +383,10 @@ gdk_mir_screen_get_monitor_geometry (GdkScreen *screen, } else { - *dest = {0, 0, 0, 0}; + dest->x = 0; + dest->y = 0; + dest->width = 0; + dest->height = 0; } }