This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2gokdrive. commit a563fd0f10d8ac1adae7d2b5d9b7088777c35a53 Author: Mihai Moldovan <ionic@ionic.de> Date: Thu Oct 31 23:04:40 2019 +0100 x2gokdriveselection.c: fix compile error, the xEvent struct (made up of union of another struct) needs another layer of curly braces. --- debian/changelog | 2 ++ x2gokdriveselection.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 41ac6bc..127e19a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -43,6 +43,8 @@ x2gokdrive (0.0.0.1-0x2go1) UNRELEASED; urgency=medium at least one plain-old-data type is initialized that way. Case in point, newer GCC versions removed that warning altogether and just blindly accepts the usual syntax. + - x2gokdriveselection.c: fix compile error, the xEvent struct (made up of + union of another struct) needs another layer of curly braces. * debian/control: + Grammar fix. + Remove dependencies that refer to disabled features. diff --git a/x2gokdriveselection.c b/x2gokdriveselection.c index 5dc8d14..39129c6 100644 --- a/x2gokdriveselection.c +++ b/x2gokdriveselection.c @@ -158,7 +158,7 @@ static int create_selection_window(void) static void request_selection(Atom selection, Atom rtype) { - xEvent ev = {{0}}; + xEvent ev = {{{0}}}; Selection *selPtr = NULL; int rc = -1; @@ -444,7 +444,7 @@ static int convert_selection(ClientPtr client, Atom selection, int rc = -1; Atom realProperty = {0}; - xEvent event = {{0}}; + xEvent event = {{{0}}}; inputBuffer* buff=&remoteVars->selstruct.inSelection; if(selection==atomClipboard) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdrive.git