From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2402 invoked by alias); 7 Oct 2014 13:50:23 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Received: (qmail 2392 invoked by uid 89); 7 Oct 2014 13:50:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-HELO: out1-smtp.messagingengine.com Received: from out1-smtp.messagingengine.com (HELO out1-smtp.messagingengine.com) (66.111.4.25) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 07 Oct 2014 13:50:19 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by gateway2.nyi.internal (Postfix) with ESMTP id 6E09F20ABA for ; Tue, 7 Oct 2014 09:50:17 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Tue, 07 Oct 2014 09:50:17 -0400 Received: from [192.168.1.93] (unknown [86.174.34.63]) by mail.messagingengine.com (Postfix) with ESMTPA id F36636801BF; Tue, 7 Oct 2014 09:50:16 -0400 (EDT) Message-ID: <5433EF95.6050703@dronecode.org.uk> Date: Tue, 07 Oct 2014 13:50:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree@cygwin.com User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: cwcarlsonc@cox.net Subject: Re: glwDrawingAreaWidgetClass References: <5433509B.8050805@cox.net> In-Reply-To: <5433509B.8050805@cox.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2014-10/txt/msg00018.txt.bz2 On 07/10/2014 03:31, Chris Carlson wrote: > I've discovered that the constant glwDrawingAreaWidgetClass is set to > 0. It's supposed to be defined as: > > WidgetClass glwDrawingAreaWidgetClass=(WidgetClass)&glwDrawingAreaClassRec; Can I ask you to please provide some more details as to how you made this discovery? If you do this: $ cat glw-test.c #include #include #include int main() { printf("glwDrawingAreaWidgetClass %p", glwDrawingAreaWidgetClass); } then you could reach that conclusion: $ gcc glw-test.c ; ./a glwDrawingAreaWidgetClass 0x0 but this isn't testing correctly as glwDrawingAreaWidgetClass isn't marked as extern in GLwDrawA.h $ cat glw-test.c #include #include extern WidgetClass glwDrawingAreaWidgetClass; int main() { printf("glwDrawingAreaWidgetClass %p", glwDrawingAreaWidgetClass); } $ gcc glw-test.c -lGLw ; ./a glwDrawingAreaWidgetClass 0x5bd8e3640 > Is it broken? I don't know. -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/