From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: CDDP 40 - TICE Newsgroups: gmane.lisp.guile.user Subject: Re: C++ application linked with guile dos not quite Date: 19 Jun 2002 18:42:06 +0200 Sender: guile-user-admin@gnu.org Message-ID: <1024504926.28479.32.camel@tice> References: <1024320297.17552.141.camel@tice> <1024388708.23129.28.camel@tice> <15631.14600.194325.589914@minos.phy.bnl.gov> <87u1o08plp.fsf@zagadka.ping.de> <1024473732.20137.40.camel@tice> <87k7ovh658.fsf@zagadka.ping.de> <1024492741.20140.120.camel@tice> <15632.37039.828555.748426@minos.phy.bnl.gov> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1024504614 29393 127.0.0.1 (19 Jun 2002 16:36:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 19 Jun 2002 16:36:54 +0000 (UTC) Cc: Guile user Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17KiRy-0007dx-00 for ; Wed, 19 Jun 2002 18:36:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17KiRB-00065t-00; Wed, 19 Jun 2002 12:36:05 -0400 Original-Received: from smtp-out-3.wanadoo.fr ([193.252.19.233] helo=mel-rto3.wanadoo.fr) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17KiQw-00064A-00 for ; Wed, 19 Jun 2002 12:35:50 -0400 Original-Received: from mel-rta9.wanadoo.fr (193.252.19.69) by mel-rto3.wanadoo.fr (6.5.007) id 3D09BEC80031C28D; Wed, 19 Jun 2002 18:35:17 +0200 Original-Received: from localhost.localdomain (80.14.155.118) by mel-rta9.wanadoo.fr (6.5.007) id 3CFB286C009FC10B; Wed, 19 Jun 2002 18:35:16 +0200 Original-To: Brett Viren In-Reply-To: <15632.37039.828555.748426@minos.phy.bnl.gov> X-Mailer: Ximian Evolution 1.0.5 Errors-To: guile-user-admin@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.user:621 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:621 Le mer 19/06/2002 =E0 16:09, Brett Viren a =E9crit : > CDDP 40 - TICE writes: > > I found another place where it hangs, I never notice it. It apppear al= so > > when the user close a figure without leaving drgenius. I have been abl= e > > to trace back: > >=20 > > Program received signal SIGINT, Interrupt. > > [Switching to Thread 1024 (LWP 27923)] > > 0x40802b90 in poll () from /lib/libc.so.6 > > (gdb) backt > > #0 0x40802b90 in poll () from /lib/libc.so.6 > > #1 0x40622f09 in g_main_is_running () from /usr/lib/libglib-1.2.so.0 > > #2 0x406228bd in g_get_current_time () from /usr/lib/libglib-1.2.so.0 > > #3 0x40622c6c in g_main_run () from /usr/lib/libglib-1.2.so.0 > > #4 0x4035c7f7 in gtk_main () from /usr/lib/libgtk-1.2.so.0 > > #5 0x0805ae30 in main_prog (argc=3D1, argv=3D0xbffffc64) at > > drgenius_main.c:124 > > #6 0x406632d1 in gh_call3 () from /usr/lib/libguile.so.9 > > #7 0x40666a38 in scm_boot_guile () from /usr/lib/libguile.so.9 > > #8 0x4068aa13 in scm_internal_lazy_catch () from /usr/lib/libguile.so= .9 > > #9 0x406669e6 in scm_boot_guile () from /usr/lib/libguile.so.9 > > #10 0x406666e4 in scm_boot_guile () from /usr/lib/libguile.so.9 > > #11 0x40663304 in gh_enter () from /usr/lib/libguile.so.9 > > #12 0x0805ae5d in main (argc=3D1, argv=3D0xbffffc64) at drgenius_main.= c:130 >=20 > Are you saying that you want the act of closing the window to cause > the application to quit? No this traceback came when a drgenius_view was closed (I use the MDI feature from Gnome) gnome_mdi_remove_child (mdi, child, FALSE); And in this case there is no moving windows to be closed, only the main drgenius window that will stand. >=20 > If so, it sounds to me like you simply didn't connect to the window's > delete_event. Eg: >=20 > your_window_object.delete_event.connect(Gtk::Main::quit.slot()); >=20 > (this is for gtkmm 1.2, 2.0 has slightly different syntax). >=20 > -Brett. >=20 > _______________________________________________ > Guile-user mailing list > Guile-user@gnu.org > http://mail.gnu.org/mailman/listinfo/guile-user >=20 --=20 Ing=E9nierie =C9ducative CDDP des Landes _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user