From 875abe21f807f01121bae506745c1a9432b39227 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Thu, 4 Aug 2011 15:43:37 +0100 Subject: Fix Vala compilation problem Fixes the following error: xadapter.vala:42.29-42.80: error: duplicating Display instance, use unowned variable or explicitly invoke copy method this.xdisplay = Gdk.X11Display.get_xdisplay (rootwin.get_display ()); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ https://bugzilla.gnome.org/show_bug.cgi?id=655980 --- libcaribou/xadapter.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcaribou') diff --git a/libcaribou/xadapter.vala b/libcaribou/xadapter.vala index 7c725b0..d22e2d4 100644 --- a/libcaribou/xadapter.vala +++ b/libcaribou/xadapter.vala @@ -13,7 +13,7 @@ namespace Caribou { /* Private properties */ static XAdapter instance; - X.Display xdisplay; + unowned X.Display xdisplay; X.ID xid; Xkb.Desc xkbdesc; Xkl.Engine xkl_engine; -- cgit v1.2.1