From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,WEIRD_PORT autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,22c0f283cbc25691 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-24 03:12:36 PST Path: newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!uninett.no!ntnu.no!randhol+abuse From: randhol+abuse@pvv.org (Preben Randhol) Newsgroups: comp.lang.ada Subject: Re: Newbie again! Date: Tue, 17 Apr 2001 10:49:18 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <3ADC1B69.44A391C8@ida.his.se> NNTP-Posting-Host: kiuk0156.chembio.ntnu.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: tyfon.itea.ntnu.no 987504558 8152 129.241.83.82 (17 Apr 2001 10:49:18 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Tue, 17 Apr 2001 10:49:18 +0000 (UTC) User-Agent: slrn/0.9.6.3 (Linux) Xref: newsfeed.google.com comp.lang.ada:6881 Date: 2001-04-17T10:49:18+00:00 List-Id: On Tue, 17 Apr 2001 12:31:05 +0200, Michael Andersson wrote: >Hi! >I've looked at the c-code from the zktor.c examples that comes with >gtkglarea and I want to convert the following c-statements to Ada: >gtk_idle_add((GtkFunction)animate, glarea); > >and >gtk_widget_draw(GTK_WIDGET(glarea), NULL); > >When trying to do this I get the following error message from gnatmake: >expected type "Gdk_Rectangle" defined at gdk-rectangle.ads:34 >found an access type >"Idle_Add" not declared in "Gtk" What is in line 34 ? Can you please post the Ada source so it is easier to see what you are doing? :-) -- Preben Randhol ------------------- http://www.pvv.org/~randhol/ -- �For me, Ada95 puts back the joy in programming.�