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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,2339842f2a89f4a9 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.15.228 with SMTP id a4mr1006325pbd.4.1316675995023; Thu, 22 Sep 2011 00:19:55 -0700 (PDT) Path: lh7ni2385pbb.0!nntp.google.com!news1.google.com!news.glorb.com!feeder.erje.net!xlned.com!feeder3.xlned.com!feeder.news-service.com!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Closing a program with GTK Date: Thu, 22 Sep 2011 09:20:11 +0200 Organization: cbb software GmbH Message-ID: References: <4e7a8d90$0$5570$703f8584@news.kpn.nl> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: FbOMkhMtVLVmu7IwBnt1tw.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: news1.google.com comp.lang.ada:18084 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2011-09-22T09:20:11+02:00 List-Id: On Thu, 22 Sep 2011 03:21:00 +0200, ldries46 wrote: See: http://rosettacode.org/wiki/Simple_windowed_application#Ada for proper handling of application exiting. In particular, Gtk.Main.Main_Quit must be called from Destroy handler. Delete event handler must return False. > When debugging in GPS I found that the message is generated in the > gtk_object package in the Destroy routine at the moment that you enter the > Internal routine with the Step button You cannot debug Gtk applications in the debugger. Use tracing and error Glib logging. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de