[9183] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: dialog (no good)

daemon@ATHENA.MIT.EDU (Pauli Virtanen)
Sun Oct 11 09:13:33 1998

From: Pauli Virtanen <virtanen@jytko.jyu.fi>
To: gtk-list@redhat.com
Date: Sun, 11 Oct 1998 16:14:18 +0300 (EETDST)
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

Unfortunately

only what I can get is:

Program received signal SIGSEGV, Segmentation fault.
0x40069a96 in gtk_signal_real_emit ()
(gdb) Killed

>>void
>>embed_dialog (GtkWidget *window /* e.g. a dialog from popup_sole_dialog() */,
>>               GtkWidget *parent /* e.g. a scrolled window */)
>>{
>>  GtkWidget *child;
>>
>>  child = GTK_BIN (window)->child;
>>  if (child)
>>      gtk_widget_reparent (child, parent);
>>
>>  gtk_widget_destroy (window);
>>{
>Thanks a lot. I've wondered what is this BIN,
>but haven't found it documented anywhere.

pauli

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post